diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/release.yaml | 5 |
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 | ||
10 | jobs: | 11 | jobs: |
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 |