-
Notifications
You must be signed in to change notification settings - Fork 59
Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/… #514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
44e13b4
added await in async function calls (#467)
MarcoCiaramella 6e89092
adding first attempt at beta pipeline (#483)
piyalbasu 925500e
change workflow names
piyalbasu b608a26
rm duped id
piyalbasu a8d81ef
rm analytics and change naming
piyalbasu fde73d1
don't bother creating a PR
piyalbasu 0bcc11b
update naming and use a different version for FF
piyalbasu 667c523
publish chrome to testers and rename FF artifact
piyalbasu 29dd096
upgrade chrome upload to allow publish target
piyalbasu 78a78ec
just run chrome upload
piyalbasu 68fc0ee
try new secret keys
piyalbasu a24441b
try the whole thing
piyalbasu ffe296c
change file path for chrome upload
piyalbasu d1c3281
change version naming and set publish to true
piyalbasu 265a8a7
add `beta` to version for Firefox
piyalbasu 68c0646
update stellar-sdk for Protocol 19 (#466)
piyalbasu 4de0b4c
add additional tracking for payments and manage assets (#482)
piyalbasu 19a2f1c
when fetching balances filter out liquidity pool shares (#484)
acharb b569b25
use asset canonical ID for key in cache (#495)
acharb e3e9581
use recommended tx fee by default (#506)
acharb 756e32b
use mode of max fee instead of fee charged mode (#507)
piyalbasu cdec380
use recommended fee for `changeTrust` operation (#510)
piyalbasu 2241947
update version in Settings (#511)
piyalbasu d226474
docs(): bumping release to 2.1.2 (#513)
github-actions[bot] f23644e
Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into release/…
piyalbasu 29964d0
Merge commit 'd226474d72a8ea83915f302e6eace2986c4e3f89' into merge-ma…
piyalbasu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,122 @@ | ||
| name: Beta Deployment | ||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| release: | ||
| description: Release Number | ||
| default: "2.0.0" | ||
| required: true | ||
| version: | ||
| description: Beta version | ||
| default: "0" | ||
| required: true | ||
| jobs: | ||
| bump-version: | ||
| name: Bump Package Version and Submit Extension | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v3 | ||
| with: | ||
| ref: release/${{ github.event.inputs.release }} | ||
| - name: Update manifest.json name | ||
| uses: jossef/action-set-json-field@6e6d7e639f24b3955ef682815317b5613ac6ca12 #v1 | ||
| with: | ||
| file: ./extension/public/static/manifest.json | ||
| field: name | ||
| value: Freighter BETA | ||
| - name: Update manifest.json version_name | ||
| uses: jossef/action-set-json-field@6e6d7e639f24b3955ef682815317b5613ac6ca12 #v1 | ||
| with: | ||
| file: ./extension/public/static/manifest.json | ||
| field: version_name | ||
| value: ${{ github.event.inputs.release }}-beta.${{ github.event.inputs.version }} | ||
| - name: Update manifest.json version for Chrome | ||
| uses: jossef/action-set-json-field@6e6d7e639f24b3955ef682815317b5613ac6ca12 #v1 | ||
| with: | ||
| file: ./extension/public/static/manifest.json | ||
| field: version | ||
| value: ${{ github.event.inputs.release }}.${{ github.event.inputs.version }} | ||
| - name: Build extension | ||
| uses: actions/setup-node@v1 | ||
| with: | ||
| node-version: "12" | ||
| - run: yarn install && yarn build:freighter-api && yarn build:extension:production | ||
| - name: Install zip | ||
| uses: montudor/action-zip@c25e01d7489d0274569440a2f0281b4569df16bc #v0.1.1 | ||
| - name: Zip extension build | ||
| run: zip -qq -r ./build.zip * | ||
| working-directory: ./extension/build | ||
| # - name: Create GitHub Release | ||
| # id: create_release | ||
| # uses: actions/create-release@v1 | ||
| # env: | ||
| # GITHUB_TOKEN: ${{ github.token }} | ||
| # with: | ||
| # tag_name: ${{ github.event.inputs.release }}-beta.${{ github.event.inputs.version }} | ||
| # release_name: ${{ github.event.inputs.release }}-beta.${{ github.event.inputs.version }} | ||
| # body: ${{ github.event.inputs.release }}-beta.${{ github.event.inputs.version }} | ||
| # draft: false | ||
| # prerelease: true | ||
| # - name: Upload Release Asset | ||
| # id: upload-release-asset | ||
| # uses: actions/upload-release-asset@v1 | ||
| # env: | ||
| # GITHUB_TOKEN: ${{ github.token }} | ||
| # with: | ||
| # upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
| # asset_path: ./extension/build/build.zip | ||
| # asset_name: build-${{ github.event.inputs.release }}-beta.${{ github.event.inputs.version }}.zip | ||
| # asset_content_type: application/zip | ||
| # - name: Update built manifest.json version for Firefox | ||
| # uses: jossef/action-set-json-field@6e6d7e639f24b3955ef682815317b5613ac6ca12 #v1 | ||
| # with: | ||
| # file: ./extension/build/manifest.json | ||
| # field: version | ||
| # value: ${{ github.event.inputs.release }}beta${{ github.event.inputs.version }} | ||
| # - name: Build xpi for Firefox | ||
| # id: firefox-build | ||
| # uses: kewisch/action-web-ext@20ee9837f7352d4770b93868a0aa59292eb43d8c #v1 | ||
| # with: | ||
| # cmd: build | ||
| # source: ./extension/build | ||
| # filename: ${{ github.event.inputs.release }}-beta.${{ github.event.inputs.version }}.xpi | ||
| # - name: Sign extension for Firefox | ||
| # id: firefox-sign | ||
| # uses: kewisch/action-web-ext@20ee9837f7352d4770b93868a0aa59292eb43d8c #v1 | ||
| # with: | ||
| # cmd: sign | ||
| # source: ${{ steps.firefox-build.outputs.target }} | ||
| # channel: unlisted | ||
| # apiKey: ${{ secrets.AMO_SIGN_KEY }} | ||
| # apiSecret: ${{ secrets.AMO_SIGN_SECRET }} | ||
| # timeout: 1800000 | ||
| # - name: Upload Firefox xpi | ||
| # uses: actions/upload-release-asset@v1 | ||
| # env: | ||
| # GITHUB_TOKEN: ${{ github.token }} | ||
| # with: | ||
| # upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
| # asset_path: ${{ steps.firefox-sign.outputs.target }} | ||
| # asset_name: ${{ github.event.inputs.release }}-${{ github.event.inputs.version }}.xpi | ||
| # asset_content_type: application/xpi | ||
| - name: Submit extension to Chrome | ||
| uses: mnao305/chrome-extension-upload@4061bc03cde1feaec8b153654495c88857fb76c3 #v2.2.0 | ||
| with: | ||
| file-path: ./extension/build/build.zip | ||
| extension-id: "kcigoalhjaghfigblagmiopnefgenfjb" | ||
| client-id: ${{ secrets.EXTENSION_CLIENT_ID_V2 }} | ||
| refresh-token: ${{ secrets.EXTENSION_REFRESH_TOKEN_V2 }} | ||
| publish: true | ||
| publish-target: trustedTesters | ||
| - name: Slack Notification | ||
| uses: rtCamp/action-slack-notify@4d4ce0d91186ffe6633a8cda645146d38e88228b #v2 | ||
| env: | ||
| MSG_MINIMAL: true | ||
| SLACK_CHANNEL: proj-freighter | ||
| SLACK_COLOR: "#391EDA" | ||
| SLACK_ICON: https://github.com/stellar/freighter/blob/master/docs/static/images/logo.png?size=48 | ||
| SLACK_MESSAGE: "https://github.com/stellar/freighter/releases/tag/{{ github.event.inputs.release }}-beta.${{ github.event.inputs.version }}" | ||
| SLACK_TITLE: Freighter v${{ github.event.inputs.release }}-beta.${{ github.event.inputs.version }} has been submitted for testing! | ||
| SLACK_USERNAME: Freighter Administrative Assistant | ||
| SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | ||
2 changes: 1 addition & 1 deletion
2
.github/workflows/submitExtension.yml → .github/workflows/submitProduction.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| name: Submit extension to browser store | ||
| name: Production Deployment | ||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this commented out code still needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I'm keeping this disabled for now because I need to confirm that just the "Submit extension to Chrome" bit works before I enable the whole pipeline.
I'm testing some new creds and didn't want to deal with creating new Firefox builds and releases if the whole thing was going to ultimately fail at "Submit extension to Chrome"