This commit is contained in:
@@ -20,17 +20,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Snapshot (dry run)
|
- name: Snapshot (dry run)
|
||||||
if: startsWith(github.ref, 'refs/tags/') == false
|
if: startsWith(github.ref, 'refs/tags/') == false
|
||||||
run: |
|
run: docker run --rm gitnow-release release-snapshot
|
||||||
docker run --rm \
|
|
||||||
-v "${{ github.workspace }}:/build" \
|
|
||||||
-w /build \
|
|
||||||
gitnow-release release-snapshot
|
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
run: |
|
run: |
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
-v "${{ github.workspace }}:/build" \
|
|
||||||
-w /build \
|
|
||||||
-e GITEA_TOKEN=${{ secrets.GITEA_TOKEN }} \
|
-e GITEA_TOKEN=${{ secrets.GITEA_TOKEN }} \
|
||||||
gitnow-release release
|
gitnow-release release
|
||||||
|
|||||||
Reference in New Issue
Block a user