Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HEmile committed Apr 12, 2021
1 parent b1f94a1 commit 4482668
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ jobs:
cd "juggl"
npm install
npm run build --if-present
cd ..
mkdir ${{ env.PLUGIN_NAME }}
cp juggl/main.js manifest.json juggl/style.css ${{ env.PLUGIN_NAME }}
cp main.js ../manifest.json style.css ${{ env.PLUGIN_NAME }}
zip -r ${{ env.PLUGIN_NAME }}.zip ${{ env.PLUGIN_NAME }}
ls
echo "::set-output name=tag_name::$(git tag --sort version:refname | tail -n 1)"
Expand All @@ -50,7 +49,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ env.PLUGIN_NAME }}.zip
asset_path: juggl/${{ env.PLUGIN_NAME }}.zip
asset_name: ${{ env.PLUGIN_NAME }}-${{ steps.build.outputs.tag_name }}.zip
asset_content_type: application/zip
- name: Upload main.js
Expand Down

0 comments on commit 4482668

Please sign in to comment.