Skip to content

Commit 969d00e

Browse files
committed
chore(deps): add changelogen
1 parent dcba1f1 commit 969d00e

File tree

4 files changed

+792
-26
lines changed

4 files changed

+792
-26
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
name: Publish Release
22

33
on:
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

147
jobs:
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:

0 commit comments

Comments
 (0)