Elffuss BraidHub

kikocis/continue public

fix: stable reelase paths
Changeset87cddb1b40c6ca354c20e1158a47b24e8f4694a270bc2fe6246cfae182992ae2
AuthorNate <sestinj@gmail.com> · 2025-08-20 23:17 -07:00
CommitterNate <sestinj@gmail.com> · 2025-08-20 23:17 -07:00
Parents6cafe5a58719

Browse the files at this changeset

1 file changed

modified .github/workflows/stable-release.yml +8 −1
@@ -67,6 +67,7 @@
6767 - name: Find beta version to promote
6868 if: ${{ (inputs.release_type || 'promote-beta') == 'promote-beta' }}
6969 id: find_beta
70+ working-directory: extensions/cli
7071 env:
7172 NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7273 run: |
@@ -116,6 +117,7 @@
116117
117118 - name: Download and verify beta package
118119 if: ${{ (inputs.release_type || 'promote-beta') == 'promote-beta' }}
120+ working-directory: extensions/cli
119121 env:
120122 NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
121123 run: |
@@ -131,6 +133,7 @@
131133
132134 - name: Prepare package for beta promotion
133135 if: ${{ (inputs.release_type || 'promote-beta') == 'promote-beta' }}
136+ working-directory: extensions/cli
134137 run: |
135138 # Copy the beta package contents
136139 cp -r package/* .
@@ -140,6 +143,7 @@
140143
141144 - name: Prepare package for direct stable release
142145 if: ${{ inputs.release_type == 'direct-stable' }}
146+ working-directory: extensions/cli
143147 run: |
144148 # Install dependencies for direct build
145149 npm ci
@@ -148,9 +152,11 @@
148152 npm version ${{ inputs.stable_version }} --no-git-tag-version
149153
150154 - name: Build (verification step)
155+ working-directory: extensions/cli
151156 run: npm run build
152157
153158 - name: Run tests (verification step)
159+ working-directory: extensions/cli
154160 run: npm test
155161
156162 - name: Set final version
@@ -167,6 +173,7 @@
167173 echo "release_notes=$RELEASE_NOTES" >> $GITHUB_OUTPUT
168174
169175 - name: Publish stable to npm
176+ working-directory: extensions/cli
170177 env:
171178 NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
172179 run: |
@@ -196,4 +203,4 @@
196203 run: |
197204 # Mark the original beta release as superseded
198205 gh release edit "v${{ steps.find_beta.outputs.beta_version }}" \
199- --notes "This beta version has been promoted to stable as v${{ steps.final_version.outputs.stable_version }}."
No newline at the end of the file
206+ --notes "This beta version has been promoted to stable as v${{ steps.final_version.outputs.stable_version }}."