Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Commit 2a9c91e

Browse files
committed
chore(release): Fix duplicated commit
1 parent 6e08f0c commit 2a9c91e

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

release.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,9 @@ $SELF_ROOT/gradlew promoteRepository
9797
# Revert flavor to original.
9898
git checkout $SELF_ROOT/algoliasearch/build.gradle
9999

100-
# Commit to git
101-
set +e # don\'t crash if already committed
102-
git add .
103-
git commit -m "chore(release): Version $VERSION_CODE [ci skip]"
104-
set -e
105100
# Commit to git and push to GitHub
106101
git add .
107-
git commit -m "Version $VERSION_CODE"
108-
git tag $VERSION_CODE
102+
git commit -m "chore(release): Version $VERSION_CODE [ci skip]"
109103

110104
echo "Release complete! Pushing to GitHub"
111105
git push origin $VERSION_CODE HEAD

0 commit comments

Comments
 (0)