Skip to content

Commit 1c02d2f

Browse files
committed
devop: 🔧 utilize github actions for lokalise, only call when a push or pr has translation changes
1 parent 4538212 commit 1c02d2f

File tree

74 files changed

+1152
-3437
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+1152
-3437
lines changed

‎.github/workflows/github-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ jobs:
4949
openssl aes-256-cbc -K ${{secrets.FILE_DECRYPT_KEY}} -iv ${{secrets.FILE_DECRYPT_IV}} -in ssh-keys.tar.enc -out ssh-keys.tar -d
5050
tar xvf ssh-keys.tar
5151
gpg --allow-secret-key-import --import mew-sign.gpg
52-
bash ./release.sh ${{ steps.get_release_tag.outputs.VERSION }} $GITHUB_TOKEN $GITHUB_REPOSITORY true
52+
bash ./scripts/release.sh ${{ steps.get_release_tag.outputs.VERSION }} $GITHUB_TOKEN $GITHUB_REPOSITORY true
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: add to codecov [v6]
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- 'gh-pages'
7+
- 'gh-pages-history'
8+
- 'master'
9+
- 'develop'
10+
tags-ignore:
11+
- '*'
12+
paths:
13+
- './src/translations/**.json'
14+
pull_request:
15+
branches:
16+
- develop
17+
paths:
18+
- './src/translations/**.json'
19+
20+
jobs:
21+
upload-translaations:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v2
25+
- name: Check and create lokalise branch
26+
env:
27+
TOKEN: ${{secrets.LOKALISE_TOKEN}}
28+
PROJECT_ID: ${{secrets.PROJECT_ID}}
29+
run: TOKEN=TOKEN BRANCH_NAME=${{github.ref}} PROJECT_ID=PROJECT_ID node ./scripts/createLokaliseBranch.js
30+
31+
- name: Upload changes to lokalise
32+
uses: jitterbit/get-changed-files@v1
33+
env:
34+
TOKEN: ${{secrets.LOKALISE_TOKEN}}
35+
PROJECT_ID: ${{secrets.PROJECT_ID}}
36+
run: FILES=${{steps.files.outputs.added_modified}} TOKEN=TOKEN BRANCH_NAME=${{github.ref}} PROJECT_ID=PROJECT_ID node ./scripts/uploadToLokalise.js

‎.husky/pre-push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
bash ./checkBranch.sh && npm run test
4+
bash ./scripts/checkBranch.sh && npm run test

‎CHANGELOG.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,28 @@
1-
### Feature
2-
3-
* Add refresh icon to balance card [#3311](https://github.com/MyEtherWallet/MyEtherWallet/pull/3311)
4-
51
### Fix
62

3+
* fix set ipfs hash button visible while uploading file [#3321](https://github.com/MyEtherWallet/MyEtherWallet/pull/3305)
4+
* Fix disable next button on swap [#3290](https://github.com/MyEtherWallet/MyEtherWallet/pull/3290)
5+
* remove provider from title and fix checkbox alignment [#3314](https://github.com/MyEtherWallet/MyEtherWallet/pull/3314)
6+
* fix sanitize hex utils check [#3285](https://github.com/MyEtherWallet/MyEtherWallet/pull/3285)
77
* fix polygon gasprice issue [#3312](https://github.com/MyEtherWallet/MyEtherWallet/pull/3312)
88
* Add ethereum token when from token is not ethereum for swap [#3305](https://github.com/MyEtherWallet/MyEtherWallet/pull/3305)
99
* fix givenProvider.request\_ is not a function [#3293](https://github.com/MyEtherWallet/MyEtherWallet/pull/3293)
1010
* fix hardware wallet access erroring [#3299](https://github.com/MyEtherWallet/MyEtherWallet/pull/3299)
11+
* fix error by catching it [#3318](https://github.com/MyEtherWallet/MyEtherWallet/pull/3318)
1112
* fix e.wallet undefined error [#3319](https://github.com/MyEtherWallet/MyEtherWallet/pull/3319)
1213
* hide language select [#3317](https://github.com/MyEtherWallet/MyEtherWallet/pull/3317)
1314
* Fix wallet header overlapping issue on mobile [#3308](https://github.com/MyEtherWallet/MyEtherWallet/pull/3308)
1415
* Fix swap display not working correctly [#3326](https://github.com/MyEtherWallet/MyEtherWallet/pull/3326)
1516

1617
### Feat
1718

19+
* remove quick help from v6 [3310](https://github.com/MyEtherWallet/MyEtherWallet/pull/3310)
1820
* reset send and swap forms after pressing next [#3309](https://github.com/MyEtherWallet/MyEtherWallet/pull/3309)
21+
* Add refresh icon to balance card [#3311](https://github.com/MyEtherWallet/MyEtherWallet/pull/3311)
22+
23+
### Devop
24+
25+
* use swap link in all ccswap instances that are active [#3315](https://github.com/MyEtherWallet/MyEtherWallet/pull/3315)
1926

2027
### Release v6.0.3-hotfix.1
2128

@@ -33,7 +40,7 @@
3340
### Fix
3441

3542
* fix error message property of undefined [#3292](https://github.com/MyEtherWallet/MyEtherWallet/pull/3292)
36-
* add mew notification prop to hide indicator \[#3302] (https://github.com/MyEtherWallet/MyEtherWallet/pull/3302)
43+
* add mew notification prop to hide indicator [#3302](https://github.com/MyEtherWallet/MyEtherWallet/pull/3302)
3744
* fix footer hiding content [#3296](https://github.com/MyEtherWallet/MyEtherWallet/pull/3296)
3845

3946
### Release v6.0.2

0 commit comments

Comments
 (0)