#!/usr/bin/env sh

version=$(git tag -l | tail -n1 | sed -e s/^v//)
sed -i -e "s/\(const packageVersion =\).\+/\1 '${version}'/" test/ss_to_json.js

git push origin $(git tag -l | tail -n1)

#!/usr/bin/env sh

version=$(git tag -l | tail -n1 | sed -e s/^v//)
sed -i -e "s/\(const packageVersion =\).\+/\1 '${version}'/" test/ss_to_json.js

git add test/ss_to_json.js
git commit -m "Commit upgrade to v${version}"
git push origin $(git tag -l | tail -n1)

Add processing to commit files that are automatically updated
Add processing to commit files that are automatically updated
