genlayer 0.39.0 → 0.39.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
name: Release & Publish Package to NPM
|
|
2
2
|
|
|
3
|
+
# Triggered on push to main/staging or manual dispatch.
|
|
3
4
|
on:
|
|
4
5
|
workflow_dispatch:
|
|
5
6
|
push:
|
|
@@ -16,14 +17,14 @@ permissions:
|
|
|
16
17
|
jobs:
|
|
17
18
|
release:
|
|
18
19
|
runs-on: ubuntu-latest
|
|
19
|
-
environment:
|
|
20
|
+
environment: Publish
|
|
20
21
|
steps:
|
|
21
22
|
- name: Get CI Bot Token
|
|
22
|
-
uses:
|
|
23
|
+
uses: actions/create-github-app-token@v3
|
|
23
24
|
id: ci_bot_token
|
|
24
25
|
with:
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
client-id: ${{ vars.PUBLISH_CI_APP_CLIENT_ID }}
|
|
27
|
+
private-key: ${{ secrets.PUBLISH_CI_APP_KEY }}
|
|
27
28
|
|
|
28
29
|
- name: Checkout source code
|
|
29
30
|
uses: actions/checkout@v4
|
|
@@ -10,6 +10,7 @@ jobs:
|
|
|
10
10
|
# Skip for pre-releases (tags containing '-') unless manually dispatched
|
|
11
11
|
if: github.event_name != 'release' || !contains(github.event.release.tag_name, '-')
|
|
12
12
|
runs-on: ubuntu-latest
|
|
13
|
+
environment: Sync-docs
|
|
13
14
|
permissions:
|
|
14
15
|
contents: read
|
|
15
16
|
steps:
|
|
@@ -44,29 +45,11 @@ jobs:
|
|
|
44
45
|
DOCS_VERSION: ${{ steps.version.outputs.value }}
|
|
45
46
|
run: node scripts/generate-cli-docs.mjs | cat
|
|
46
47
|
|
|
47
|
-
- name: Set up Git (for committing to CLI repo)
|
|
48
|
-
run: |
|
|
49
|
-
git config user.name "github-actions[bot]"
|
|
50
|
-
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
51
|
-
|
|
52
|
-
- name: Commit and push docs back to CLI repo (non-beta releases)
|
|
53
|
-
if: github.event_name == 'release' && !contains(github.event.release.tag_name, '-')
|
|
54
|
-
run: |
|
|
55
|
-
set -euo pipefail
|
|
56
|
-
if [ -n "$(git status --porcelain docs/api-references || true)" ]; then
|
|
57
|
-
git add docs/api-references
|
|
58
|
-
VERSION=${{ steps.version.outputs.value }}
|
|
59
|
-
git commit -m "docs(cli): update API reference for ${VERSION}"
|
|
60
|
-
git push
|
|
61
|
-
else
|
|
62
|
-
echo "No docs changes to commit"
|
|
63
|
-
fi
|
|
64
|
-
|
|
65
48
|
- name: Generate docs repo token
|
|
66
49
|
id: app-token
|
|
67
|
-
uses: actions/create-github-app-token@
|
|
50
|
+
uses: actions/create-github-app-token@v3
|
|
68
51
|
with:
|
|
69
|
-
|
|
52
|
+
client-id: ${{ vars.DOCS_SYNC_APP_CLIENT_ID }}
|
|
70
53
|
private-key: ${{ secrets.DOCS_SYNC_APP_KEY }}
|
|
71
54
|
repositories: genlayer-docs
|
|
72
55
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.39.1 (2026-05-06)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **ci:** add trigger comment to publish workflow ([#300](https://github.com/genlayerlabs/genlayer-cli/issues/300)) ([f3eeb99](https://github.com/genlayerlabs/genlayer-cli/commit/f3eeb99ce4e9222e9ba1bd9f6d31faf0e11bd380)), closes [#297](https://github.com/genlayerlabs/genlayer-cli/issues/297) [#298](https://github.com/genlayerlabs/genlayer-cli/issues/298)
|
|
8
|
+
|
|
3
9
|
## 0.39.0 (2026-04-23)
|
|
4
10
|
|
|
5
11
|
### ⚠ BREAKING CHANGES
|
package/dist/index.js
CHANGED
|
@@ -20078,7 +20078,7 @@ var require_cli_table3 = __commonJS({
|
|
|
20078
20078
|
import { program } from "commander";
|
|
20079
20079
|
|
|
20080
20080
|
// package.json
|
|
20081
|
-
var version = "0.39.
|
|
20081
|
+
var version = "0.39.1";
|
|
20082
20082
|
var package_default = {
|
|
20083
20083
|
name: "genlayer",
|
|
20084
20084
|
version,
|