aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release.yaml
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-03-19 08:32:57 +0000
committerAleksey Kladov <[email protected]>2020-03-19 08:37:03 +0000
commit3d1cb5e20f7a05314f6fd4261076b0a85546cfe4 (patch)
tree6fd47ffb498891ca24b2972dabfdd58a3f737644 /.github/workflows/release.yaml
parentaca3c3086ee99f5770a60970e20af640c895d42a (diff)
Simplify extension tag sniffing
Diffstat (limited to '.github/workflows/release.yaml')
-rw-r--r--.github/workflows/release.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 0434b6128..13bc172ba 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -6,6 +6,7 @@ on:
6 push: 6 push:
7 branches: 7 branches:
8 - release 8 - release
9 - nightly
9 10
10jobs: 11jobs:
11 dist: 12 dist:
@@ -49,11 +50,11 @@ jobs:
49 50
50 - name: Dist 51 - name: Dist
51 if: github.event_name == 'push' 52 if: github.event_name == 'push'
52 run: cargo xtask dist 53 run: cargo xtask dist --version 0.2.$GITHUB_RUN_NUMBER --tag $(date --iso --utc)
53 54
54 - name: Dist 55 - name: Dist
55 if: github.event_name != 'push' 56 if: github.event_name != 'push'
56 run: cargo xtask dist --nightly 57 run: cargo xtask dist --version 0.3.$GITHUB_RUN_NUMBER-nightly --tag nightly
57 58
58 - name: Upload artifacts 59 - name: Upload artifacts
59 uses: actions/upload-artifact@v1 60 uses: actions/upload-artifact@v1