aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release.yaml
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-03-23 13:33:44 +0000
committerAleksey Kladov <[email protected]>2020-03-23 13:33:44 +0000
commit59f6bf87d651d987be63941d42999ac205f891b2 (patch)
tree22d845c4bd45bf9dab8a11c735cbb27042006653 /.github/workflows/release.yaml
parentf8fd242199bb5cb41ab2579548b89dbfe6af94c2 (diff)
Fix release
Diffstat (limited to '.github/workflows/release.yaml')
-rw-r--r--.github/workflows/release.yaml10
1 files changed, 7 insertions, 3 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index df34dfdb8..fb9e207b1 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -49,11 +49,15 @@ jobs:
49 node-version: 12.x 49 node-version: 12.x
50 50
51 - name: Dist 51 - name: Dist
52 if: github.ref == 'refs/heads/release' 52 if: matrix.os == 'ubuntu-latest' && github.ref == 'refs/heads/release'
53 run: cargo xtask dist --version 0.2.$GITHUB_RUN_NUMBER --tag $(date --iso --utc) 53 run: cargo xtask dist --client --version 0.2.$GITHUB_RUN_NUMBER --tag $(date --iso --utc)
54 54
55 - name: Dist 55 - name: Dist
56 if: github.ref != 'refs/heads/release' 56 if: matrix.os == 'ubuntu-latest' && github.ref == 'refs/heads/release'
57 run: cargo xtask dist --client --version 0.3.$GITHUB_RUN_NUMBER-nightly --tag nightly
58
59 - name: Dist
60 if: matrix.os != 'ubuntu-latest'
57 run: cargo xtask dist --version 0.3.$GITHUB_RUN_NUMBER-nightly --tag nightly 61 run: cargo xtask dist --version 0.3.$GITHUB_RUN_NUMBER-nightly --tag nightly
58 62
59 - name: Upload artifacts 63 - name: Upload artifacts