Skip to content

Commit 87e2ce4

Browse files
committed
Changed: action variables for testing
1 parent fd1dd7e commit 87e2ce4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/deploy_alpha.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: 'deploy_alpha'
33
on:
44
push:
55
branches:
6-
- develop
6+
- 196-github-action-fix
77

88
jobs:
99
test-unit:
@@ -68,16 +68,16 @@ jobs:
6868

6969
- name: Fetch latest alpha version
7070
run: |
71-
LATEST_VERSION=$(npm show @IQSS/dataverse-client-javascript versions --json | jq -r '.[]' | grep "^2.0.0-alpha." | sort -V | tail -n 1)
71+
LATEST_VERSION=$(npm show @IQSS/dataverse-client-javascript versions --json | jq -r '.[]' | grep "^2.0.0-alphatest." | sort -V | tail -n 1)
7272
7373
if [ -z "$LATEST_VERSION" ]; then
7474
NEW_INCREMENTAL_NUMBER=1
7575
else
76-
CURRENT_INCREMENTAL_NUMBER=$(echo $LATEST_VERSION | sed 's/2.0.0-alpha.//')
76+
CURRENT_INCREMENTAL_NUMBER=$(echo $LATEST_VERSION | sed 's/2.0.0-alphatest.//')
7777
NEW_INCREMENTAL_NUMBER=$((CURRENT_INCREMENTAL_NUMBER + 1))
7878
fi
7979
80-
NEW_VERSION="2.0.0-alpha.${NEW_INCREMENTAL_NUMBER}"
80+
NEW_VERSION="2.0.0-alphatest.${NEW_INCREMENTAL_NUMBER}"
8181
8282
echo "Latest version: $LATEST_VERSION"
8383
echo "New version: $NEW_VERSION"

0 commit comments

Comments
 (0)