Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
Improve deployment scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Jérémy Buget committed Jan 12, 2017
1 parent 8281761 commit 07c7896
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/release-perform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ git add CHANGELOG.md
git commit -m "Update CHANGELOG.md"
git push origin $CURRENT_BRANCH

echo -e "From now checks that all is ok on ${CYAN}http://$CURRENT_BRANCH.pix.beta.gouv.fr${RESET_COLOR} environment and then execute ${CYAN}release:publish${RESET_COLOR} NPM task. If you need to update CHANGELOG.md file, then edit it and run ${CYAN}release:perform${RESET_COLOR} NPM task again.\n"
echo -e "If the CHANGELOG.md file is ok, then execute ${CYAN}release:publish${RESET_COLOR} NPM task. If you need to update the CHANGELOG.md file, then edit it and run ${CYAN}release:perform${RESET_COLOR} NPM task again.\n"

echo -e "Release performing ${GREEN}succeeded${RESET_COLOR}."
2 changes: 1 addition & 1 deletion scripts/release-prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ then
fi

# Fetches all last changes
git fetch --all
git pull

# Remove local branch 'release' if exists, then create it
RELEASE_BRANCH="release-$PACKAGE_VERSION"
Expand Down
2 changes: 1 addition & 1 deletion scripts/release-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ git push origin dev
echo -e "You are now on branch ${YELLOW}dev${RESET_COLOR}.\n"

# Fetches all last changes
git fetch --all
git pull

git checkout master
echo -e "You are now on branch ${YELLOW}master${RESET_COLOR}.\n"
Expand Down

0 comments on commit 07c7896

Please sign in to comment.