@@ -63,68 +63,68 @@ jobs:
6363 echo "You must be a member of @supabase/admin or @supabase/client-libs."
6464 exit 1
6565
66- - uses : actions/checkout@v5
67- with :
68- fetch-depth : 0
66+ # - uses: actions/checkout@v5
67+ # with:
68+ # fetch-depth: 0
6969
70- - uses : actions/setup-node@v4
71- with :
72- node-version : ${{ env.NODE_VERSION }}
73- cache : ' npm'
74- registry-url : ' https://registry.npmjs.org'
70+ # - uses: actions/setup-node@v4
71+ # with:
72+ # node-version: ${{ env.NODE_VERSION }}
73+ # cache: 'npm'
74+ # registry-url: 'https://registry.npmjs.org'
7575
76- # Ensure npm 11.5.1 or later is installed for trusted publishing support
77- - name : Update npm
78- run : npm install -g npm@latest
79- - name : Install dependencies
80- run : npm ci --legacy-peer-deps
81- - name : Configure git
82- run : |
83- git config --global user.name "supabase-releaser[bot]"
84- git config --global user.email "supabase-releaser[bot]@users.noreply.github.com"
76+ # # Ensure npm 11.5.1 or later is installed for trusted publishing support
77+ # - name: Update npm
78+ # run: npm install -g npm@latest
79+ # - name: Install dependencies
80+ # run: npm ci --legacy-peer-deps
81+ # - name: Configure git
82+ # run: |
83+ # git config --global user.name "supabase-releaser[bot]"
84+ # git config --global user.email "supabase-releaser[bot]@users.noreply.github.com"
8585
86- - name : Validate input
87- run : |
88- VS="${{ github.event.inputs.version_specifier }}"
89- echo "Validating: $VS"
86+ # - name: Validate input
87+ # run: |
88+ # VS="${{ github.event.inputs.version_specifier }}"
89+ # echo "Validating: $VS"
9090
91- if [[ "$VS" =~ ^(patch|minor|major|prepatch|preminor|premajor|prerelease)$ ]]; then
92- echo "✔ bump keyword"
93- elif [[ "$VS" =~ ^v?[0-9]+\.[0-9]+\.[0-9]+([.-][0-9A-Za-z.-]+)?$ ]]; then
94- echo "✔ explicit version"
95- else
96- echo "❌ Invalid version_specifier: '$VS'"
97- echo " Use: patch|minor|major|pre*, or v1.2.3"
98- exit 1
99- fi
91+ # if [[ "$VS" =~ ^(patch|minor|major|prepatch|preminor|premajor|prerelease)$ ]]; then
92+ # echo "✔ bump keyword"
93+ # elif [[ "$VS" =~ ^v?[0-9]+\.[0-9]+\.[0-9]+([.-][0-9A-Za-z.-]+)?$ ]]; then
94+ # echo "✔ explicit version"
95+ # else
96+ # echo "❌ Invalid version_specifier: '$VS'"
97+ # echo " Use: patch|minor|major|pre*, or v1.2.3"
98+ # exit 1
99+ # fi
100100
101- - name : Release
102- env :
103- NPM_CONFIG_PROVENANCE : true
104- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
105- RELEASE_GITHUB_TOKEN : ${{ steps.app-token.outputs.token }} # used for tags
106- run : |
107- npm run release-stable -- --versionSpecifier "${{ github.event.inputs.version_specifier }}"
101+ # - name: Release
102+ # env:
103+ # NPM_CONFIG_PROVENANCE: true
104+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
105+ # RELEASE_GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} # used for tags
106+ # run: |
107+ # npm run release-stable -- --versionSpecifier "${{ github.event.inputs.version_specifier }}"
108108
109- - name : Summary
110- if : ${{ success() }}
111- run : |
112- echo "## ✅ Stable Release" >> $GITHUB_STEP_SUMMARY
113- echo "- **Version specifier:** \`${{ github.event.inputs.version_specifier }}\`" >> $GITHUB_STEP_SUMMARY
114- echo "- **Source commit:** HEAD of the checked-out branch" >> $GITHUB_STEP_SUMMARY
115- echo "- **Dist-tag:** \`latest\`" >> $GITHUB_STEP_SUMMARY
109+ # - name: Summary
110+ # if: ${{ success() }}
111+ # run: |
112+ # echo "## ✅ Stable Release" >> $GITHUB_STEP_SUMMARY
113+ # echo "- **Version specifier:** \`${{ github.event.inputs.version_specifier }}\`" >> $GITHUB_STEP_SUMMARY
114+ # echo "- **Source commit:** HEAD of the checked-out branch" >> $GITHUB_STEP_SUMMARY
115+ # echo "- **Dist-tag:** \`latest\`" >> $GITHUB_STEP_SUMMARY
116116
117- docs-after-stable-release :
118- name : Generate Documentation
119- needs : release-stable
120- if : ${{
121- github.event_name == 'workflow_dispatch' &&
122- needs.release-stable.result == 'success'
123- }}
124- uses : ./.github/workflows/docs.yml
125- permissions :
126- actions : read
127- contents : write
117+ # docs-after-stable-release:
118+ # name: Generate Documentation
119+ # needs: release-stable
120+ # if: ${{
121+ # github.event_name == 'workflow_dispatch' &&
122+ # needs.release-stable.result == 'success'
123+ # }}
124+ # uses: ./.github/workflows/docs.yml
125+ # permissions:
126+ # actions: read
127+ # contents: write
128128
129129 trigger-update-js-libs :
130130 name : Trigger Update JS Libs
@@ -152,19 +152,18 @@ jobs:
152152 workflow_id: 'update-js-libs.yml',
153153 ref: 'master',
154154 inputs: {
155- version: '${{ github.event.inputs.version_specifier }} ',
155+ version: '2.74.0 ',
156156 source: 'supabase-js-stable-release'
157157 }
158158 });
159159
160160 trigger-supabase-docs-update :
161161 name : Trigger Supabase Docs Update
162162 runs-on : ubuntu-latest
163- needs : [release-stable, docs-after-stable-release ]
163+ needs : [release-stable]
164164 if : ${{
165165 github.event_name == 'workflow_dispatch' &&
166- needs.release-stable.result == 'success' &&
167- needs.docs-after-stable-release.result == 'success'
166+ needs.release-stable.result == 'success'
168167 }}
169168 steps :
170169 - name : Generate token
@@ -185,107 +184,107 @@ jobs:
185184 workflow_id: 'docs-js-libs-update.yml',
186185 ref: 'master',
187186 inputs: {
188- version: '${{ github.event.inputs.version_specifier }} ',
187+ version: '2.74.0 ',
189188 source: 'supabase-js-stable-release'
190189 }
191190 });
192191
193192 # preview jobs
194- ci-core :
195- if : ${{ github.event_name == 'push' }}
196- name : Core Packages CI
197- uses : ./.github/workflows/ci-core.yml
198- permissions :
199- actions : read
200- contents : read
193+ # ci-core:
194+ # if: ${{ github.event_name == 'push' }}
195+ # name: Core Packages CI
196+ # uses: ./.github/workflows/ci-core.yml
197+ # permissions:
198+ # actions: read
199+ # contents: read
201200
202- ci-supabase-js :
203- if : ${{ github.event_name == 'push' }}
204- name : Supabase-JS Integration CI
205- uses : ./.github/workflows/ci-supabase-js.yml
206- permissions :
207- actions : read
208- contents : read
201+ # ci-supabase-js:
202+ # if: ${{ github.event_name == 'push' }}
203+ # name: Supabase-JS Integration CI
204+ # uses: ./.github/workflows/ci-supabase-js.yml
205+ # permissions:
206+ # actions: read
207+ # contents: read
209208
210- ci-auth-js-node18 :
211- if : ${{ github.event_name == 'push' }}
212- name : Auth-JS Node.js 18 Compatibility
213- uses : ./.github/workflows/ci-auth-js-node18.yml
214- permissions :
215- actions : read
216- contents : read
209+ # ci-auth-js-node18:
210+ # if: ${{ github.event_name == 'push' }}
211+ # name: Auth-JS Node.js 18 Compatibility
212+ # uses: ./.github/workflows/ci-auth-js-node18.yml
213+ # permissions:
214+ # actions: read
215+ # contents: read
217216
218217 # ==========================================
219218 # CANARY RELEASE (only on master, after all CI passes)
220219 # ==========================================
221220
222- release-canary :
223- name : Release Canary
224- runs-on : ubuntu-latest
225- needs : [ci-core, ci-supabase-js, ci-auth-js-node18]
226- permissions :
227- contents : read
228- id-token : write
229- # Only run on master branch pushes, and only if all CI jobs succeeded
230- if : |
231- github.ref == 'refs/heads/master' &&
232- github.event_name == 'push' &&
233- needs.ci-core.result == 'success' &&
234- needs.ci-supabase-js.result == 'success' &&
235- needs.ci-auth-js-node18.result == 'success'
236- steps :
237- - name : Generate token
238- id : app-token
239- uses : actions/create-github-app-token@v2
240- with :
241- app-id : ${{ secrets.APP_ID }}
242- private-key : ${{ secrets.PRIVATE_KEY }}
221+ # release-canary:
222+ # name: Release Canary
223+ # runs-on: ubuntu-latest
224+ # needs: [ci-core, ci-supabase-js, ci-auth-js-node18]
225+ # permissions:
226+ # contents: read
227+ # id-token: write
228+ # # Only run on master branch pushes, and only if all CI jobs succeeded
229+ # if: |
230+ # github.ref == 'refs/heads/master' &&
231+ # github.event_name == 'push' &&
232+ # needs.ci-core.result == 'success' &&
233+ # needs.ci-supabase-js.result == 'success' &&
234+ # needs.ci-auth-js-node18.result == 'success'
235+ # steps:
236+ # - name: Generate token
237+ # id: app-token
238+ # uses: actions/create-github-app-token@v2
239+ # with:
240+ # app-id: ${{ secrets.APP_ID }}
241+ # private-key: ${{ secrets.PRIVATE_KEY }}
243242
244- - name : Checkout code
245- uses : actions/checkout@v5
246- with :
247- fetch-depth : 0
243+ # - name: Checkout code
244+ # uses: actions/checkout@v5
245+ # with:
246+ # fetch-depth: 0
248247
249- - name : Setup Node.js
250- uses : actions/setup-node@v4
251- with :
252- node-version : ${{ env.NODE_VERSION }}
253- cache : ' npm'
254- registry-url : ' https://registry.npmjs.org'
248+ # - name: Setup Node.js
249+ # uses: actions/setup-node@v4
250+ # with:
251+ # node-version: ${{ env.NODE_VERSION }}
252+ # cache: 'npm'
253+ # registry-url: 'https://registry.npmjs.org'
255254
256- # Ensure npm 11.5.1 or later is installed for trusted publishing support
257- - name : Update npm
258- run : npm install -g npm@latest
259- - name : Install dependencies
260- run : npm ci --legacy-peer-deps
261- - name : Configure git
262- run : |
263- git config --global user.name "supabase-releaser[bot]"
264- git config --global user.email "supabase-releaser[bot]@users.noreply.github.com"
255+ # # Ensure npm 11.5.1 or later is installed for trusted publishing support
256+ # - name: Update npm
257+ # run: npm install -g npm@latest
258+ # - name: Install dependencies
259+ # run: npm ci --legacy-peer-deps
260+ # - name: Configure git
261+ # run: |
262+ # git config --global user.name "supabase-releaser[bot]"
263+ # git config --global user.email "supabase-releaser[bot]@users.noreply.github.com"
265264
266- - name : Release canary version
267- id : release
268- run : |
269- echo "Running nx release..."
270- npm run release-canary
271- env :
272- NPM_CONFIG_PROVENANCE : true
273- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
274- RELEASE_GITHUB_TOKEN : ${{ steps.app-token.outputs.token }} # used for tags
275- notify-stable-failure :
276- name : Notify Slack for Stable failure
277- needs : release-stable
278- if : ${{ always() && github.event_name == 'workflow_dispatch' && needs.release-stable.result == 'failure' }}
279- uses : ./.github/workflows/slack-notify.yml
280- secrets : inherit
281- with :
282- subject : ' Stable Release'
265+ # - name: Release canary version
266+ # id: release
267+ # run: |
268+ # echo "Running nx release..."
269+ # npm run release-canary
270+ # env:
271+ # NPM_CONFIG_PROVENANCE: true
272+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
273+ # RELEASE_GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} # used for tags
274+ # notify-stable-failure:
275+ # name: Notify Slack for Stable failure
276+ # needs: release-stable
277+ # if: ${{ always() && github.event_name == 'workflow_dispatch' && needs.release-stable.result == 'failure' }}
278+ # uses: ./.github/workflows/slack-notify.yml
279+ # secrets: inherit
280+ # with:
281+ # subject: 'Stable Release'
283282
284- notify-canary-failure :
285- name : Notify Slack for Canary failure
286- needs : release-canary
287- if : ${{ always() && github.event_name == 'push' && needs.release-canary.result == 'failure' }}
288- uses : ./.github/workflows/slack-notify.yml
289- secrets : inherit
290- with :
291- subject : ' Canary Release'
283+ # notify-canary-failure:
284+ # name: Notify Slack for Canary failure
285+ # needs: release-canary
286+ # if: ${{ always() && github.event_name == 'push' && needs.release-canary.result == 'failure' }}
287+ # uses: ./.github/workflows/slack-notify.yml
288+ # secrets: inherit
289+ # with:
290+ # subject: 'Canary Release'
0 commit comments