-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #235 from consensusnetworks/develop
Promote develop to master
- Loading branch information
Showing
5 changed files
with
23 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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,7 +1,6 @@ | ||
name: Release | ||
on: | ||
push: | ||
branches: [master] | ||
tags: [v*] | ||
|
||
env: | ||
|
@@ -45,6 +44,21 @@ jobs: | |
- name: Deploy cdk infrastructure | ||
run: npm run deploy | ||
|
||
- name: Sync new version with develop | ||
if: ${{ github.actor != 'nektos/act' }} | ||
run: | | ||
git config --global user.name 'robosupport' | ||
git config --global user.email '[email protected]' | ||
git fetch --no-recurse-submodules | ||
git checkout $TARGET_BRANCH | ||
git checkout ${GITHUB_REF##*/} -- package.json package-lock.json CHANGELOG.md | ||
git add -A | ||
git diff-index --quiet HEAD || git commit -am "Sync released version files (skip deploy)" | ||
git push origin $TARGET_BRANCH | ||
env: | ||
TARGET_BRANCH: develop | ||
|
||
|
||
- name: Select success emoji | ||
if: ${{ success() }} | ||
run: echo 'EMOJI=:rocket:' >> $GITHUB_ENV | ||
|
This file contains 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 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 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 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