@ankhorage/devtools 1.11.5 → 1.11.7
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.
|
@@ -65,6 +65,12 @@ jobs:
|
|
|
65
65
|
run: |
|
|
66
66
|
git fetch origin main
|
|
67
67
|
git checkout -B main origin/main
|
|
68
|
+
|
|
69
|
+
if [ -z "$(find .changeset -maxdepth 1 -type f -name '*.md' ! -name README.md -print -quit)" ]; then
|
|
70
|
+
echo "versioned=false" >> "$GITHUB_OUTPUT"
|
|
71
|
+
exit 0
|
|
72
|
+
fi
|
|
73
|
+
|
|
68
74
|
before_version="$(node -p "require('./package.json').version")"
|
|
69
75
|
__ANKH_CHANGESETS_VERSION_COMMAND__
|
|
70
76
|
after_version="$(node -p "require('./package.json').version")"
|
|
@@ -113,7 +119,7 @@ jobs:
|
|
|
113
119
|
|
|
114
120
|
- name: Create the scoped rollout token
|
|
115
121
|
id: rollout-token
|
|
116
|
-
if: steps.release.outputs.versioned == 'true'
|
|
122
|
+
if: steps.release.outputs.versioned == 'true' && steps.release.outputs.package_name == '@ankhorage/devtools'
|
|
117
123
|
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
|
|
118
124
|
with:
|
|
119
125
|
client-id: ${{ vars.ANKHORAGE_RENOVATE_SYNC_CLIENT_ID }}
|
|
@@ -123,7 +129,7 @@ jobs:
|
|
|
123
129
|
permission-contents: write
|
|
124
130
|
|
|
125
131
|
- name: Trigger the Devtools consumer rollout
|
|
126
|
-
if: steps.release.outputs.versioned == 'true'
|
|
132
|
+
if: steps.release.outputs.versioned == 'true' && steps.release.outputs.package_name == '@ankhorage/devtools'
|
|
127
133
|
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
|
|
128
134
|
env:
|
|
129
135
|
PUBLISHED_PACKAGE_NAME: ${{ steps.release.outputs.package_name }}
|
package/package.json
CHANGED