-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* try fix publish script * changelog * revert script change * use same possible fix than in api Co-authored-by: MergeBack Lunie Bot <[email protected]>
- Loading branch information
1 parent
742e6c7
commit 37709b6
Showing
2 changed files
with
6 additions
and
5 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
[Fixed] [#268](https://github.com/cosmos/lunie/pull/268) Fixes the publish script (I hope) @Bitcoinera |
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,15 +1,15 @@ | ||
#!/bin/bash | ||
COMMIT_MESSAGE=$(git log --format=%B -n 1) | ||
if [[ $COMMIT_MESSAGE == release* || $COMMIT_MESSAGE == "[Simsala] automatic release"* ]] | ||
if [[ $COMMIT_MESSAGE == "release-"* || $COMMIT_MESSAGE == "[Simsala] automatic release"* ]] | ||
then | ||
echo "Publishing" | ||
git config user.email "[email protected]" | ||
git config user.name "Publish Lunie Bot" | ||
git remote add bot https://${GIT_BOT_TOKEN}@github.com/luniehq/lunie.git | ||
git remote add bot https://${GIT_BOT_TOKEN}@github.com/luniehq/lunie-browser-extension.git | ||
git checkout master | ||
git pull | ||
git merge origin/develop | ||
git merge --no-edit origin/develop | ||
git push | ||
else | ||
echo "No release detected so not publishing" | ||
fi | ||
echo "No release detected, so not publishing" | ||
fi |