@ankhorage/devtools 1.11.4 → 1.11.6
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.
|
@@ -63,6 +63,8 @@ jobs:
|
|
|
63
63
|
id: release
|
|
64
64
|
if: hashFiles('.changeset/config.json') != ''
|
|
65
65
|
run: |
|
|
66
|
+
git fetch origin main
|
|
67
|
+
git checkout -B main origin/main
|
|
66
68
|
before_version="$(node -p "require('./package.json').version")"
|
|
67
69
|
__ANKH_CHANGESETS_VERSION_COMMAND__
|
|
68
70
|
after_version="$(node -p "require('./package.json').version")"
|
|
@@ -76,7 +78,11 @@ jobs:
|
|
|
76
78
|
git config user.email "ankhorage-renovate-sync[bot]@users.noreply.github.com"
|
|
77
79
|
git add --all
|
|
78
80
|
git commit -m "chore(release): version packages [skip ci]"
|
|
79
|
-
git push origin HEAD:main
|
|
81
|
+
if ! git push origin HEAD:main; then
|
|
82
|
+
git fetch origin main
|
|
83
|
+
git rebase origin/main
|
|
84
|
+
git push origin HEAD:main
|
|
85
|
+
fi
|
|
80
86
|
|
|
81
87
|
if [ "$before_version" = "$after_version" ]; then
|
|
82
88
|
echo "versioned=false" >> "$GITHUB_OUTPUT"
|
|
@@ -107,7 +113,7 @@ jobs:
|
|
|
107
113
|
|
|
108
114
|
- name: Create the scoped rollout token
|
|
109
115
|
id: rollout-token
|
|
110
|
-
if: steps.release.outputs.versioned == 'true'
|
|
116
|
+
if: steps.release.outputs.versioned == 'true' && steps.release.outputs.package_name == '@ankhorage/devtools'
|
|
111
117
|
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
|
|
112
118
|
with:
|
|
113
119
|
client-id: ${{ vars.ANKHORAGE_RENOVATE_SYNC_CLIENT_ID }}
|
|
@@ -117,7 +123,7 @@ jobs:
|
|
|
117
123
|
permission-contents: write
|
|
118
124
|
|
|
119
125
|
- name: Trigger the Devtools consumer rollout
|
|
120
|
-
if: steps.release.outputs.versioned == 'true'
|
|
126
|
+
if: steps.release.outputs.versioned == 'true' && steps.release.outputs.package_name == '@ankhorage/devtools'
|
|
121
127
|
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
|
|
122
128
|
env:
|
|
123
129
|
PUBLISHED_PACKAGE_NAME: ${{ steps.release.outputs.package_name }}
|
package/package.json
CHANGED