Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
release nightly test
Browse files Browse the repository at this point in the history
  • Loading branch information
theowenyoung committed Nov 7, 2022
1 parent 8a6d7b8 commit 6602dcb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,12 @@ jobs:
run: |
content=`cat ./src/manifest.json`
echo "::set-output name=version::$(echo $content | jq -r '.version')"
- name: Add Version to folders
run: |
mv dist/chrome.zip dist/chrome-immersive_translate-${{ steps.set_var.outputs.version }}.zip
- name: "web-ext build"
id: web-ext-build
uses: kewisch/action-web-ext@v1
with:
cmd: build
source: dist/firefox
filename: "firefox-{name}-{version}.xpi"
# - uses: trmcnvn/firefox-addon@v1
# with:
# # uuid is only necessary when updating an existing addon,
Expand All @@ -66,11 +62,15 @@ jobs:
apiSecret: ${{ secrets.FIREFOX_API_SECRET }}
timeout: 900000

- name: move dist file to release
run: |
mv dist/chrome.zip dist/chrome-immersive_translate-${{ steps.set_var.outputs.version }}.zip
mv ${{ steps.web-ext-build.outputs.target }} dist/firefox-immersive_translate-${{ steps.set_var.outputs.version }}.xpi
- name: release assets
uses: "marvinpinto/action-automatic-releases@v1.2.1"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
dist/chrome-immersive_translate-${{ steps.set_var.outputs.version }}.zip
${{ steps.web-ext-sign.outputs.target }}
dist/firefox-immersive_translate-${{ steps.set_var.outputs.version }}.xpi
2 changes: 1 addition & 1 deletion src/chrome_manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"default_locale": "en",
"name": "Immersive Translate - 沉浸式翻译",
"description": "支持整页翻译·双语显示·只翻译正文。布局全面优化,和浏览器阅读模式类似,对Twitter, Reddit等网站做了定制优化",
"version": "0.0.15",
"version": "0.0.15.1",
"homepage_url": "https://github.com/theowenyoung/Traduzir-paginas-web",

"commands": {
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"default_locale": "en",
"name": "Immersive Translate",
"description": "支持整页翻译·双语显示·只翻译正文。布局全面优化,和浏览器阅读模式类似,对Twitter, Reddit等网站做了定制优化",
"version": "0.0.15",
"version": "0.0.15.1",
"homepage_url": "https://github.com/theowenyoung/Traduzir-paginas-web",

"browser_specific_settings": {
Expand Down

0 comments on commit 6602dcb

Please sign in to comment.