File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -50,11 +50,12 @@ jobs:
5050 with :
5151 go-version : ' 1.22'
5252
53- - name : Set release version in build script
53+ - name : Set up build variables
54+ id : build_vars
5455 run : |
55- # The tag is like 'v0.2.2', we just want '0.2.2'
5656 RELEASE_VERSION=${{ github.ref_name }}
5757 VERSION_NUMBER=${RELEASE_VERSION#v}
58+ echo "VERSION_NUMBER=${VERSION_NUMBER}" >> $GITHUB_ENV
5859 sed -i "s/^VERSION=.*/VERSION=\"${VERSION_NUMBER}\"/" build_packages.sh
5960
6061 - name : Build the Debian package
6768 uses : svenstaro/upload-release-action@v2
6869 with :
6970 repo_token : ${{ secrets.GITHUB_TOKEN }}
70- file : docker-ai_* .deb
71+ file : docker-ai_${{ env.VERSION_NUMBER }}_amd64 .deb
7172 asset_name : docker-ai_${{ github.ref_name }}_amd64.deb
7273 tag : ${{ github.ref_name }}
7374 overwrite : true
You can’t perform that action at this time.
0 commit comments