Force nightly instead of version
@@ -68,18 +68,13 @@ jobs:
command: rustc
args: --release --target ${{ matrix.config.target }} -p jcli --bin jcli -- -C target-cpu=${{ matrix.config.target_cpu }} -C lto
- - name: Get tag version
- id: get_version
- run: echo ::set-output name=VERSION::``${GITHUB_REF#refs/tags/}``
- shell: bash
-
- name: Pack binaries if unix
if: matrix.config.os != 'windows-latest'
- run: tar -C ./target/${{ matrix.config.target }}/release -czvf jormungandr-${{ steps.get_version.outputs.VERSION }}-${{ matrix.config.target }}-${{ matrix.config.target_cpu }}.tar.gz jormungandr jcli
+ run: tar -C ./target/${{ matrix.config.target }}/release -czvf jormungandr-nightly-${{ matrix.config.target }}-${{ matrix.config.target_cpu }}.tar.gz jormungandr jcli
- name: Pack binaries if windows
if: matrix.config.os == 'windows-latest'
- run: compress-archive ./target/${{ matrix.config.target }}/release/jormungandr.exe, ./target/${{ matrix.config.target }}/release/jcli.exe jormungandr-${{ steps.get_version.outputs.VERSION }}-${{ matrix.config.target }}-${{ matrix.config.target_cpu }}.zip
+ run: compress-archive ./target/${{ matrix.config.target }}/release/jormungandr.exe, ./target/${{ matrix.config.target }}/release/jcli.exe jormungandr-nightly-${{ matrix.config.target }}-${{ matrix.config.target_cpu }}.zip
- name: Nighly release upload
@@ -88,4 +83,4 @@ jobs:
automatic_release_tag: "nightly"
prerelease: true
title: "Nightly Build"
- files: jormungandr-${{ steps.get_version.outputs.VERSION }}-${{ matrix.config.target }}-${{ matrix.config.target_cpu }}.*
\ No newline at end of file
+ files: jormungandr-nightly-${{ matrix.config.target }}-${{ matrix.config.target_cpu }}.*
\ No newline at end of file
