Skip to content

Commit

Permalink
Merge pull request #275 from csfloat/add-version-release-zip
Browse files Browse the repository at this point in the history
Add Versioning to Zip-Files in Release
  • Loading branch information
GODrums authored Nov 27, 2024
2 parents e18a074 + 616d188 commit aa3e690
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,18 @@ jobs:

- name: Build and compress
run: |
TAG=${{ github.ref_name }}
npm install
npm run build
(cd dist && zip -r ../extension-chrome.zip .)
(cd dist && zip -r ../extension-${TAG}-chrome.zip .)
rm -rf dist
npm run build_ff
(cd dist && zip -r ../extension-firefox.zip .)
(cd dist && zip -r ../extension-${TAG}-firefox.zip .)
- uses: "marvinpinto/[email protected]"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
extension-chrome.zip
extension-firefox.zip
extension-*-chrome.zip
extension-*-firefox.zip

0 comments on commit aa3e690

Please sign in to comment.