forked from mirror/redis
Replace release job
This commit is contained in:
parent
ed42d3c37b
commit
5e6479ec64
|
@ -1,15 +1,15 @@
|
||||||
name: release
|
name: Releases
|
||||||
|
|
||||||
on: push
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- uses: actions/checkout@v2
|
||||||
uses: actions/checkout@v2
|
- uses: ncipollo/release-action@v1
|
||||||
- name: Release
|
|
||||||
uses: softprops/action-gh-release@v1
|
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
|
||||||
with:
|
with:
|
||||||
body: Check CHANGELOG.md for details
|
body: Check CHANGELOG.md for details
|
||||||
|
|
|
@ -31,7 +31,7 @@ PACKAGE_DIRS=$(find . -mindepth 2 -type f -name 'go.mod' -exec dirname {} \; \
|
||||||
| sed 's/^\.\///' \
|
| sed 's/^\.\///' \
|
||||||
| sort)
|
| sort)
|
||||||
|
|
||||||
git tag ${TAG} -m "Version ${TAG}"
|
git tag ${TAG}
|
||||||
|
|
||||||
for dir in $PACKAGE_DIRS
|
for dir in $PACKAGE_DIRS
|
||||||
do
|
do
|
||||||
|
|
Loading…
Reference in New Issue