Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dariuszSki authored Dec 6, 2024
1 parent 137e650 commit e859bbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ jobs:
run: |
asset=$(gh api /repos/netfoundry/zfw/releases --jq '( last ((.[].assets | sort_by(.created_at)).[] | select(.name=="${{ env.APP_NAME }}-router_${{ needs.build_amd64_release.outputs.version }}_${{ matrix.goarch }}.${{ matrix.pkg_type }}")))')
curl -Ls "$(jq -r .browser_download_url <<< "$asset")" -H "Accept: application/vnd.github.v3+json" --output ./"$(jq -r .name <<< "$asset")"
jf rt upload
jf rt upload \
./${{ env.APP_NAME }}-router_${{ needs.build_amd64_release.outputs.version }}_${{ matrix.goarch }}.${{ matrix.pkg_type }} \
netfoundry-deb-stable/pool/${{ env.APP_NAME }}-router/${{ matrix.distro_name }}/${{ matrix.goarch }}/ \
--url https://netfoundry.jfrog.io/artifactory/ \
Expand Down

0 comments on commit e859bbb

Please sign in to comment.