We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77fb82f commit bb05356Copy full SHA for bb05356
‎.github/workflows/publish-release.yml
@@ -54,12 +54,18 @@ jobs:
54
- name: 🔄 Init Cache
55
uses: ./.github/actions/npm-cache
56
57
- - name: Publish stable packages
+ - name: Set the Env
58
run: |
59
SEMVER_VERSION=$(npx find-versions-cli ${{ github.event.release.tag_name }})
60
VALID_SEMVER_VERSION=$(node scripts/version-helper.js $SEMVER_VERSION)
61
echo "Semver stable version unclean $SEMVER_VERSION"
62
echo "Semver stable version valid $VALID_SEMVER_VERSION"
63
+ echo "VALID_SEMVER_VERSION=$(echo $VALID_SEMVER_VERSION)" >> $GITHUB_ENV
64
+
65
+ - name: Publish stable packages
66
+ run: |
67
+ echo "version is:"
68
+ echo ${{env.VALID_SEMVER_VERSION }}
69
npm version --no-git-tag-version ${{ env.VALID_SEMVER_VERSION }} --workspace=@ci-cd/abcd
70
npm run publish:abcd
71
0 commit comments