File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -82,18 +82,21 @@ jobs:
82
82
env :
83
83
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
84
84
UPLOADTOOL_ISPRERELEASE : true
85
+ VERSION : ${GITHUB_REF#refs/tags/}
85
86
run : |
87
+ echo ${VERSION}
86
88
curl -L https://github.com/probonopd/uploadtool/raw/master/upload.sh --output upload.sh
87
89
mv target/${{ matrix.target }}/release/et et
88
- tar -cavf et-${{ steps.version.outputs. VERSION } }-${{ matrix.target }}.tar.gz et CHANGELOG.md README.md LICENSE
89
- bash upload.sh et-${{ steps.version.outputs. VERSION } }-${{ matrix.target }}.tar.gz
90
+ tar -cavf et-${VERSION}-${{ matrix.target }}.tar.gz et CHANGELOG.md README.md LICENSE
91
+ bash upload.sh et-${VERSION}-${{ matrix.target }}.tar.gz
90
92
91
93
- name : Upload files (only for Windows)
92
94
if : matrix.target == 'x86_64-pc-windows-msvc'
93
95
env :
94
96
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
95
97
UPLOADTOOL_ISPRERELEASE : true
98
+ VERSION : ${GITHUB_REF#refs/tags/}
96
99
run : |
97
100
curl -L https://github.com/probonopd/uploadtool/raw/master/upload.sh --output upload.sh
98
- mv target/${{ matrix.target }}/release/et.exe et-${{ steps.version.outputs. VERSION } }-${{ matrix.target }}.exe
99
- bash upload.sh et-${{ steps.version.outputs. VERSION } }-${{ matrix.target }}.exe
101
+ mv target/${{ matrix.target }}/release/et.exe et-${VERSION}-${{ matrix.target }}.exe
102
+ bash upload.sh et-${VERSION}-${{ matrix.target }}.exe
You can’t perform that action at this time.
0 commit comments