Skip to content

Commit 40d0b1b

Browse files
committed
ci: 🎡 WIP package publishing in CI
1 parent 5a997cd commit 40d0b1b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎.github/workflows/tag-publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
if: github.event.release.target_commitish == 'test-package-publishing' && github.event.release.prerelease == false
6464
runs-on: ubuntu-latest
6565
env:
66-
TEST_MSG: "REPLACE_ME"
66+
CHANGELOG_TEXT: "REPLACE_ME"
6767
steps:
6868
- name: ⬇️ Checkout repo
6969
uses: actions/checkout@v3
@@ -72,6 +72,7 @@ jobs:
7272
run: |
7373
echo "We are running on: " ${{github.event.release.target_commitish}}
7474
SEMVER_VERSION=$(npx find-versions-cli ${{ github.event.release.tag_name }})
75+
CHANGELOG_TEXT=$(npx [email protected])
7576
VALID_SEMVER_VERSION=$(node scripts/version-helper.js $SEMVER_VERSION)
7677
echo "Semver stable version unclean $SEMVER_VERSION"
7778
echo "Semver stable version valid $VALID_SEMVER_VERSION"
@@ -83,5 +84,5 @@ jobs:
8384
owner: context.payload.repository.owner.login,
8485
repo: context.payload.repository.name,
8586
release_id: context.payload.release.id,
86-
body: process.env.TEST_MSG
87+
body: process.env.CHANGELOG_TEXT
8788
})

0 commit comments

Comments
 (0)