Skip to content

Commit

Permalink
fix for beta checking
Browse files Browse the repository at this point in the history
  • Loading branch information
haouarihk committed Jun 28, 2024
1 parent dc25a88 commit af44457
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,14 @@ jobs:
run: |
echo "name=$(git describe --abbrev=0 --tags)" >> $GITHUB_OUTPUT
# Package the manifest-beta.json if its a beta version
- name: Prepare manifest file
run: |
if [[ "${{ steps.version.outputs.name }}" == *"-beta" ]]; then
cp manifest-beta.json manifest.json
else
cp manifest.json manifest.json
fi
run: |
if [[ "${{ contains(steps.version.outputs.name, '-beta') }}" == 'true' ]]; then
cp manifest-beta.json manifest.json
else
cp manifest.json manifest.json
fi
shell: bash

# Package the required files into a zip
- name: Package plugin archive
Expand Down

0 comments on commit af44457

Please sign in to comment.