File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -72,16 +72,16 @@ jobs:
7272 run : |
7373 echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
7474
75- LATEST_VERSION=$(npm show @IQSS/dataverse-client-javascript versions --registry=https://npm.pkg.github.com/ --json | jq -r '.[]' | grep "^2 .0.0-alpha." | sort -V | tail -n 1)
75+ LATEST_VERSION=$(npm show @IQSS/dataverse-client-javascript versions --registry=https://npm.pkg.github.com/ --json | jq -r '.[]' | grep "^1 .0.0-alpha." | sort -V | tail -n 1)
7676
7777 if [ -z "$LATEST_VERSION" ]; then
7878 NEW_INCREMENTAL_NUMBER=1
7979 else
80- CURRENT_INCREMENTAL_NUMBER=$(echo $LATEST_VERSION | sed 's/2 .0.0-alpha.//')
80+ CURRENT_INCREMENTAL_NUMBER=$(echo $LATEST_VERSION | sed 's/1 .0.0-alpha.//')
8181 NEW_INCREMENTAL_NUMBER=$((CURRENT_INCREMENTAL_NUMBER + 1))
8282 fi
8383
84- NEW_VERSION="2 .0.0-alpha.${NEW_INCREMENTAL_NUMBER}"
84+ NEW_VERSION="1 .0.0-alpha.${NEW_INCREMENTAL_NUMBER}"
8585
8686 echo "Latest version: $LATEST_VERSION"
8787 echo "New version: $NEW_VERSION"
You can’t perform that action at this time.
0 commit comments