use v7 instead of 7.x

This commit is contained in:
Josh de Leeuw 2024-06-06 18:28:09 -04:00
parent a85fba0923
commit 46d0c9b050

View File

@ -31,7 +31,7 @@ jobs:
run: echo "version=$(node -p "require('./packages/jspsych/package.json').version")" >> "$GITHUB_ENV"
- name: Select only major version
run: echo "version_major=${{ env.version }}" | awk -F. '{print $1"."x}' >> "$GITHUB_ENV"
run: echo "version_major=${{ env.version }}" | awk -F. '{print "v"$1}' >> "$GITHUB_ENV"
- name: Config git
run: |