Skip to content

Commit 5e6479e

Browse files
committed
Replace release job
1 parent ed42d3c commit 5e6479e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
name: release
1+
name: Releases
22

3-
on: push
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
47

58
jobs:
69
build:
710
runs-on: ubuntu-latest
811
steps:
9-
- name: Checkout
10-
uses: actions/checkout@v2
11-
- name: Release
12-
uses: softprops/action-gh-release@v1
13-
if: startsWith(github.ref, 'refs/tags/')
12+
- uses: actions/checkout@v2
13+
- uses: ncipollo/release-action@v1
1414
with:
1515
body: Check CHANGELOG.md for details

scripts/tag.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ PACKAGE_DIRS=$(find . -mindepth 2 -type f -name 'go.mod' -exec dirname {} \; \
3131
| sed 's/^\.\///' \
3232
| sort)
3333

34-
git tag ${TAG} -m "Version ${TAG}"
34+
git tag ${TAG}
3535

3636
for dir in $PACKAGE_DIRS
3737
do

0 commit comments

Comments
 (0)