Skip to content

Commit

Permalink
fix: changed pathing
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartoffel096 committed Oct 9, 2024
1 parent 5550237 commit 9a44b0b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ jobs:
- name: Build Go Application
run: |
mkdir -p ${{ github.workspace }}/packagelock
mkdir -p ${{ github.workspace }}/bin
APP_VERSION=${{ env.APP_VERSION }}
CGO_ENABLED=0 GOOS=linux go build -ldflags "-X 'main.AppVersion=$APP_VERSION'" -o ${{ github.workspace }}/packagelock
CGO_ENABLED=0 GOOS=linux go build -ldflags "-X 'main.AppVersion=$APP_VERSION'" -o ${{ github.workspace }}/bin
- name: Create Release Archive
run: |
mkdir -p release
cp -r ${{ github.workspace }}/packagelock ./release/packagelock
tar -czvf release/packagelock-${{ env.APP_VERSION }}-linux-amd64.tar.gz -C release packagelock
cp -r ${{ github.workspace }}/bin ${{ github.workspace }}/release
tar -czvf ${{ github.workspace }}/release/packagelock-${{ env.APP_VERSION }}-linux-amd64.tar.gz -C release packagelock
- name: Get release URL
id: get_release
Expand Down

0 comments on commit 9a44b0b

Please sign in to comment.