Skip to content

Commit fc3e3f5

Browse files
authored
[RELEASE ONLY CHANGES] Update Apple workflow for release/1.0 (#14444)
Following the changes in the release manual and in #12113 + #12740.
1 parent 5452e68 commit fc3e3f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/apple.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
id: set_version
3939
shell: bash
4040
run: |
41-
VERSION="0.8.0.$(TZ='PST8PDT' date +%Y%m%d)"
41+
VERSION="1.0.0"
4242
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
4343
4444
build-demo-ios:
@@ -185,7 +185,7 @@ jobs:
185185
runs-on: ubuntu-22.04
186186
needs: [build-frameworks-ios, set-version]
187187
timeout-minutes: 30
188-
environment: ${{ github.ref == 'refs/heads/main' && 'cherry-pick-bot' || '' }}
188+
environment: ${{ github.ref == 'refs/heads/release/1.0' && 'cherry-pick-bot' || '' }}
189189
permissions:
190190
id-token: write
191191
contents: write
@@ -210,7 +210,7 @@ jobs:
210210
name: executorch-frameworks-ios
211211
path: ${{ runner.temp }}/frameworks-ios/
212212
- name: Only push to S3 when running the workflow manually from main branch
213-
if: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main' }}
213+
if: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/release/1.0' }}
214214
shell: bash
215215
run: |
216216
echo "UPLOAD_ON_MAIN=1" >> "${GITHUB_ENV}"

0 commit comments

Comments
 (0)