Skip to content

Commit

Permalink
piu piu
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckis committed Aug 26, 2024
1 parent 948c8f3 commit 7d63791
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ env:
VERSION: ${{ github.ref }}

# Controls when the action will run.
on:
on:
push:
branches:
- "release"
tags:
- '*'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand All @@ -36,6 +36,8 @@ jobs:
cp readme.md package.json nostr.svg logo.svg ${{ env.PLUGIN_NAME }}
mv dist ${{ 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)"
- name: Create Release
uses: ncipollo/[email protected]
Expand All @@ -58,7 +60,7 @@ jobs:
asset_path: ./${{ env.PLUGIN_NAME }}.zip
asset_name: ${{ env.PLUGIN_NAME }}-${{ env.VERSION }}.zip
asset_content_type: application/zip

- name: Upload package.json
id: upload_metadata
uses: actions/upload-release-asset@v1
Expand Down

0 comments on commit 7d63791

Please sign in to comment.