-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Gabriele Panico
committed
May 30, 2024
1 parent
177332f
commit e44b2bc
Showing
1 changed file
with
2 additions
and
2 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,11 +1,11 @@ | ||
# npm version patch | ||
version="0.1.18-rc12" | ||
version="0.1.18" | ||
echo "version $version" | ||
|
||
if [ "$version" != "" ]; then | ||
git add . | ||
git commit -m "Created a new version" | ||
git push remote master --tags | ||
git tag -a "$version" -m "`git log -1 --format=%s`" | ||
echo "Created a new tag, $version" | ||
git push remote --tags | ||
fi |