fix(vyos-build): change + to - in name

PiKVM can't delete the file if it has a + in it cuz URL fuckery
This commit is contained in:
JJGadgets
2024-03-01 09:30:36 +08:00
parent 4613efffad
commit 178552cd2b
2 changed files with 4 additions and 4 deletions

View File

@@ -79,8 +79,8 @@ jobs:
uses: ncipollo/release-action@v1
with:
token: "${{ steps.oauth-token.outputs.token }}"
tag: "vyos-v${{ env.VYOS_VERSION }}+${{ env.VYOS_BUILDER }}-${{ env.VYOS_BUILD_TIME }}-${{ env.VYOS_ARCH }}-iso"
artifacts: "./vyos-build/build/vyos-${{ env.VYOS_VERSION }}+${{ env.VYOS_BUILDER }}-${{ env.VYOS_BUILD_TIME }}-${{ env.VYOS_ARCH }}.iso"
tag: "vyos-v${{ env.VYOS_VERSION }}-${{ env.VYOS_BUILDER }}-${{ env.VYOS_BUILD_TIME }}-${{ env.VYOS_ARCH }}-iso"
artifacts: "./vyos-build/build/vyos-${{ env.VYOS_VERSION }}-${{ env.VYOS_BUILDER }}-${{ env.VYOS_BUILD_TIME }}-${{ env.VYOS_ARCH }}.iso"
artifactErrorsFailBuild: true
prerelease: true
body: |
@@ -108,7 +108,7 @@ jobs:
env:
GITHUB_TOKEN: "${{ steps.oauth-token.outputs.token }}"
with:
tag_name: "vyos-v${{ env.VYOS_VERSION }}+${{ env.VYOS_BUILDER }}-${{ env.VYOS_BUILD_TIME }}-${{ env.VYOS_ARCH }}-iso"
tag_name: "vyos-v${{ env.VYOS_VERSION }}-${{ env.VYOS_BUILDER }}-${{ env.VYOS_BUILD_TIME }}-${{ env.VYOS_ARCH }}-iso"
delete_release: true
- name: Prune old releases

View File

@@ -53,7 +53,7 @@ ls -AlhR ./packages # debug
--build-by "${VYOS_BUILDER:=custom}" \
--build-type "${VYOS_BUILD_TYPE:=release}" \
--build-comment "Biohazardous VyOS" \
--version "${VYOS_VERSION}+${VYOS_BUILDER:=custom}-${VYOS_BUILD_TIME}" \
--version "${VYOS_VERSION}-${VYOS_BUILDER:=custom}-${VYOS_BUILD_TIME}" \
--custom-package "iptables" \
--custom-package "jo" \
--custom-package "moreutils" \