diff --git a/.github/workflows/deploy_alpha.yml b/.github/workflows/deploy_alpha.yml index f514f593..0db745ad 100644 --- a/.github/workflows/deploy_alpha.yml +++ b/.github/workflows/deploy_alpha.yml @@ -81,8 +81,8 @@ jobs: # Save the new incremental number to the file echo "${NEW_INCREMENTAL_NUMBER}" > .alpha_version - # Update package version with 2.0.0.alpha. - NEW_VERSION="2.0.0-test.${INCREMENTAL_NUMBER}" + # Update package version with 2.0.0-alpha. + NEW_VERSION="2.0.0-test1.${INCREMENTAL_NUMBER}" npm version "${NEW_VERSION}" --no-git-tag-version # Commit the version update and incremental number @@ -91,6 +91,9 @@ jobs: git add package.json .alpha_version git commit -m "Update version to ${NEW_VERSION}" + # Push the changes to the repository + git push origin develop + - name: Publish package run: | echo "$(jq '.publishConfig.registry = "https://npm.pkg.github.com"' package.json)" > package.json