Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Commit f52a1f5

Browse files
committed
Add published version to release steps
1 parent ac29ab5 commit f52a1f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

task-runner.sh.command

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ releaseInstructions() {
3333
version=v$(grep '"version"' package.json | awk -F'"' '{print $4}')
3434
pushed=v$(curl --silent $package | grep '"version":' | awk -F'"' '{print $4}')
3535
released=$(git tag | tail -1)
36+
published=v$(npm view $repository version)
3637
minorVersion=$(echo ${pushed:1} | awk -F"." '{ print $1 "." $2 }')
3738
echo "Local changes:"
3839
git status --short
@@ -41,7 +42,7 @@ releaseInstructions() {
4142
git tag | tail -5
4243
echo
4344
echo "Release progress:"
44-
echo " $version (local) --> $pushed (pushed) --> $released (released)"
45+
echo " $version (local) --> $pushed (pushed) --> $released (released) --> $published (published)"
4546
echo
4647
test "$version" ">" "$released" && mode="NOT released" || mode="RELEASED"
4748
echo "Current version is: $mode"

0 commit comments

Comments
 (0)