Skip to content

Commit

Permalink
ci: 🎡 WIP package publishing in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dkolba committed Jul 26, 2022
1 parent 108d8ba commit 77fb82f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ jobs:

- name: Create changelog
run: |
echo "CHANGELOG_TEXT=$(npx conventional-changelog-cli -h -p angular -r 0)" >> $GITHUB_ENV
echo 'CHANGELOG_TEXT<<EOF' >> $GITHUB_ENV
npx conventional-changelog-cli -h -p angular -r 0) >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
- uses: actions/github-script@v6
with:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ jobs:
VALID_SEMVER_VERSION=$(node scripts/version-helper.js $SEMVER_VERSION)
echo "Semver stable version unclean $SEMVER_VERSION"
echo "Semver stable version valid $VALID_SEMVER_VERSION"
echo "CHANGELOG_TEXT=$(npx conventional-changelog-cli)" >> $GITHUB_ENV
npm version --no-git-tag-version 0.0.22 --workspace=@ci-cd/abcd
npm version --no-git-tag-version ${{ env.VALID_SEMVER_VERSION }} --workspace=@ci-cd/abcd
npm run publish:abcd
publishnextgithub:
Expand Down

0 comments on commit 77fb82f

Please sign in to comment.