Skip to content

Commit

Permalink
chore(cd): pro provider
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbreuninger committed May 23, 2024
1 parent 9583b76 commit 190fbe0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,6 @@ jobs:
run: |
set -e
RELEASE_ID="${{ needs.create-release.outputs.release_id }}"
VERSION="v${{ needs.create-release.outputs.original_package_version }}"
OUT_DIR="release"
ASSETS="devpod-darwin-amd64 devpod-darwin-arm64 devpod-linux-amd64 devpod-linux-arm64 devpod-windows-amd64.exe"
Expand All @@ -557,7 +556,7 @@ jobs:
echo "Download release assets into $OUT_DIR..."
for asset in $ASSETS; do
printf "\t$asset\n"
gh release download $RELEASE_ID --pattern="$asset" --dir="$OUT_DIR"
gh release download $VERSION --pattern="$asset" --dir="$OUT_DIR"
printf "\tDone\n"
done
printf "Done\n\n"
Expand All @@ -567,7 +566,7 @@ jobs:
printf "Done\n\n"
echo "Upload provider.yaml..."
gh release upload $RELEASE_ID ./release/provider.yaml --clobber
gh release upload $VERSION ./release/provider.yaml --clobber
printf "Done\n\n"
env:
GH_TOKEN: ${{ github.token }}
Expand Down

0 comments on commit 190fbe0

Please sign in to comment.