Skip to content

Commit 424d4e5

Browse files
committed
ci: better publish gh releases (try)
1 parent 40c3c9d commit 424d4e5

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

.changeset/sixty-dragons-pump.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"mobx-tanstack-query": patch
3+
---
4+
5+
ci: gh release try

.github/workflows/version-or-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ jobs:
5959
id: export-release
6060
run: |
6161
# Проверяем существование переменных
62+
echo $PUBLISHED_GIT_TAG
63+
6264
if [ -n "$PUBLISHED_GIT_TAG" ]; then
6365
echo "tag=$PUBLISHED_GIT_TAG" >> $GITHUB_OUTPUT
6466
else

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"commitfmt": "^1.0.0",
6161
"eslint": "^8.57.0",
6262
"js2me-eslint-config": "^1.0.6",
63-
"js2me-exports-post-build-script": "^4.1.1",
63+
"js2me-exports-post-build-script": "^4.1.2",
6464
"jsdom": "^25.0.1",
6565
"lefthook": "^1.11.13",
6666
"nodemon": "^3.1.0",

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

post-build.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ postBuildScript({
3535
if (publishOutput.publishedGitTag) {
3636
const { whatChangesText } = getInfoFromChangelog(nextVersion, path.resolve(targetPackageJson.locationDir, '../CHANGELOG.md'));
3737
process.env.PUBLISHED_VERSION_RELEASE_NOTES = whatChangesText;
38+
39+
console.info('publish', process.env.PUBLISHED_VERSION_RELEASE_NOTES, process.env.PUBLISHED_GIT_TAG)
3840
}
3941
}
4042
}

0 commit comments

Comments
 (0)