Skip to content

Commit 77fb82f

Browse files
committed
ci: 🎡 WIP package publishing in CI
1 parent 108d8ba commit 77fb82f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

‎.github/workflows/changelog.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ jobs:
1313

1414
- name: Create changelog
1515
run: |
16-
echo "CHANGELOG_TEXT=$(npx conventional-changelog-cli -h -p angular -r 0)" >> $GITHUB_ENV
16+
echo 'CHANGELOG_TEXT<<EOF' >> $GITHUB_ENV
17+
npx conventional-changelog-cli -h -p angular -r 0) >> $GITHUB_ENV
18+
echo 'EOF' >> $GITHUB_ENV
1719
1820
- uses: actions/github-script@v6
1921
with:

‎.github/workflows/publish-release.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ jobs:
6060
VALID_SEMVER_VERSION=$(node scripts/version-helper.js $SEMVER_VERSION)
6161
echo "Semver stable version unclean $SEMVER_VERSION"
6262
echo "Semver stable version valid $VALID_SEMVER_VERSION"
63-
echo "CHANGELOG_TEXT=$(npx conventional-changelog-cli)" >> $GITHUB_ENV
64-
npm version --no-git-tag-version 0.0.22 --workspace=@ci-cd/abcd
63+
npm version --no-git-tag-version ${{ env.VALID_SEMVER_VERSION }} --workspace=@ci-cd/abcd
6564
npm run publish:abcd
6665
6766
publishnextgithub:

0 commit comments

Comments
 (0)