File tree Expand file tree Collapse file tree 4 files changed +792
-26
lines changed Expand file tree Collapse file tree 4 files changed +792
-26
lines changed Original file line number Diff line number Diff line change 11name : Publish Release
22
33on :
4- workflow_dispatch :
5- inputs :
6- tag :
7- description : ' Tag to use. Has to start with extra char like "v"'
8- default : ' v'
9- type : string
10- required : true
114 release :
12- types : [created ]
5+ types : [published ]
136
147jobs :
158 publish :
@@ -26,17 +19,11 @@ jobs:
2619 - name : Install Deps
2720 run : npm ci --ignore-scripts --no-audit --progress=false
2821
29- - name : Update version
30- env :
31- TAG : ${{ github.event.release.tag_name }}
32- TAG_INPUT : ${{ inputs.tag }}
33- run : |
34- ${TAG:=$TAG_INPUT}
35- npm version --no-git-tag-version ${$TAG:1}
36- sed -i -e "s/\"version\": *\"[0-9A-z.\-]*\"/\"version\": $(npm pkg get version)/gi" public/manifest.json
37- # TODO: push version change to main
22+ - name : Build
23+ run : npm run build
3824
39- # - name: Sign Firefox Extension
40- # run: npm run sign -- --api-secret ${{ secrets.FIREFOX_TOKEN }}
41- # TODO: add signed addon file to release
42- # TODO: push release to AMO
25+ - name : Bundle
26+ run : npm run bundle
27+
28+ # - name: Sign
29+ # run:
You can’t perform that action at this time.
0 commit comments