Skip to content

Commit 4a64ed8

Browse files
author
lukaw3d
committed
release beta extension on push
1 parent 17263b3 commit 4a64ed8

1 file changed

Lines changed: 24 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
VERSION: ${{ steps.vars.outputs.VERSION }}
8787
run: |
8888
cd build-ext/
89-
zip -r "../rose-wallet-ext-$VERSION.zip" .
89+
zip -r "../rose-wallet-ext-mv3.zip" .
9090
- name: Parse CHANGELOG.md file and extract changes for the given version
9191
uses: buberdds/extract-changelog-action@v1
9292
id: changelog
@@ -95,13 +95,29 @@ jobs:
9595
- name: Release
9696
uses: softprops/action-gh-release@v1
9797
with:
98+
prerelease: true
9899
files: |
99-
rose-wallet-android-${{ steps.vars.outputs.VERSION }}.aab
100-
rose-wallet-web-${{ steps.vars.outputs.VERSION }}.zip
101-
rose-wallet-ext-${{ steps.vars.outputs.VERSION }}.zip
102-
build/Content-Security-Policy.txt
103-
build/Permissions-Policy.txt
104-
name: ROSE Wallet ${{ steps.vars.outputs.VERSION }}
105-
body: ${{ steps.changelog.outputs.content }}
100+
rose-wallet-ext-mv3.zip
101+
name: ROSE Wallet MV3 Extension beta
102+
body: |
103+
To install beta version as a separate extension:
104+
- open **chrome://extensions/**
105+
- click top right to enable Developer mode
106+
- download **rose-wallet-ext-mv3.zip** (assets below)
107+
- drag it into chrome://extensions/
108+
109+
To copy saved wallets from old extension:
110+
- _extensions and instructions like these could be malicious and steal your tokens - don't blindly trust them_
111+
- open **chrome-extension://ppdadbejkmjnefldpcdjhnkpbjkikoip/manifest.json** and open console and run:
112+
```js
113+
if (location.href !== 'chrome-extension://ppdadbejkmjnefldpcdjhnkpbjkikoip/manifest.json') throw 'Is this the new extension instead of old one?';
114+
copy(`
115+
if (location.href !== 'chrome-extension://jeooipjboldjebnajiegnfpklodgimmf/manifest.json') throw 'Is this old extension instead of new one?';
116+
const chromeStorageLocal = ${JSON.stringify(localStorage['oasis_wallet_persist_v1'])};
117+
localStorage['oasis_wallet_persist_v1'] = chromeStorageLocal;
118+
`)
119+
```
120+
- **chrome-extension://jeooipjboldjebnajiegnfpklodgimmf/manifest.json** open console and paste.
121+
- click the new extension
106122
env:
107123
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)