Skip to content

Commit

Permalink
Fix tags in make-dev-releases script
Browse files Browse the repository at this point in the history
  • Loading branch information
peaBerberian committed Dec 7, 2023
1 parent b4851cf commit 0ca048d
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions scripts/make-dev-releases
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# =================
#
# This script produces pre-releases on top of the current branch for the
# `dev` and `canal` versions (as per their npm tags).
# `dev-v4` and `canal-v4` versions (as per their npm tags).
#
# To use it:
#
Expand All @@ -23,11 +23,6 @@

set -e

if [ $# -eq 0 ]; then
echo "no version in argument"
exit 1
fi

current_branch=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p')
version=$1
date=$(date "+%Y%m%d")
Expand All @@ -48,7 +43,7 @@ while true; do
esac
done
git push origin ${dev_branch}
npm publish --tag dev
npm publish --tag dev-v4

git checkout $current_branch

Expand All @@ -67,4 +62,4 @@ while true; do
* ) echo "Please answer y or n.";;
esac
done
npm publish --tag canal
npm publish --tag canal-v4

0 comments on commit 0ca048d

Please sign in to comment.