Skip to content

Commit 03b19a8

Browse files
Update SWIFT_VERSION to 6.0.2
1 parent 93ff0b5 commit 03b19a8

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

.github/workflows/build-swift-latest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
- swift-target-arch: "armv6"
1818
distribution: "raspios-bookworm"
1919
env:
20-
SWIFT_VERSION: "6.1"
21-
SWIFT_TAG: swift-6.1-RELEASE
20+
SWIFT_VERSION: "6.0.2"
21+
SWIFT_TAG: swift-6.0.2-RELEASE
2222
name: Build Swift
2323
runs-on: ubuntu-latest
2424
steps:

.github/workflows/build-swift-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
branch: ["swift-6.1-branch", "development"]
16+
branch: ["swift-6.0.2-branch", "development"]
1717
env:
1818
SWIFT_TAG:
1919
SWIFT_BRANCH: ${{ matrix.branch }}

.github/workflows/build-swift-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: Build Swift Release
22

33
on:
44
push:
5-
branches: [ "release/6.1" ]
5+
branches: [ "release/6.0.2" ]
66

77
env:
8-
SWIFT_VERSION: "6.1"
9-
SWIFT_TAG: swift-6.1-RELEASE
8+
SWIFT_VERSION: "6.0.2"
9+
SWIFT_TAG: swift-6.0.2-RELEASE
1010
SWIFT_WORKSPACE_CACHE: swift-workspace
1111

1212
jobs:

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,14 @@ After building the armv7 runtime using the `build.sh` script, you can generate a
7777
using the `build-linux-cross-sdk.sh` script. You must provide the swift tag and distribution name:
7878

7979
```bash
80-
./build-linux-cross-sdk.sh swift-6.1-RELEASE ubuntu-noble
80+
./build-linux-cross-sdk.sh swift-6.0.2-RELEASE ubuntu-noble
8181
```
8282

8383
By default, the SDK will be generated to be installed at a path of /opt/$SWIFT_TAG-$DISTRIBUTION-armv7, but this can be customized by providing a different install prefix to the script:
8484

8585
```bash
8686
export SDK_INSTALL_PREFIX=/home/myuser/swift-sdks
87-
./build-linux-cross-sdk.sh swift-6.1-RELEASE ubuntu-noble
87+
./build-linux-cross-sdk.sh swift-6.0.2-RELEASE ubuntu-noble
8888
```
8989

9090
## Continuous Integration & Releases
@@ -101,11 +101,11 @@ To use the SDK that is generated by the CI or published to the [Releases](https:
101101
extract it to /opt:
102102

103103
```bash
104-
sudo tar -xf swift-6.1-RELEASE-debian-bookworm-armv7-sdk.tar.gz -C /opt
104+
sudo tar -xf swift-6.0.2-RELEASE-debian-bookworm-armv7-sdk.tar.gz -C /opt
105105
```
106106

107107
Then, from a Swift package, use the `--destination` paramter to cross-compile it for the target:
108108

109109
```bash
110-
swift build --destination /opt/swift-6.1-RELEASE-debian-bookworm-armv7/debian-bookworm.json
110+
swift build --destination /opt/swift-6.0.2-RELEASE-debian-bookworm-armv7/debian-bookworm.json
111111
```

swift-builder/build-gh-runner.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
if [ -z $SWIFT_VERSION ]; then
4-
echo "You must provide a Swift version (such as 6.1) to this script!"
4+
echo "You must provide a Swift version (such as 6.0.2) to this script!"
55
exit -1
66
fi
77

swift-builder/swift-builder-common

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SWIFT_VERSION=${SWIFT_VERSION:=6.1}
1+
SWIFT_VERSION=${SWIFT_VERSION:=6.0.2}
22
SWIFT_BRANCH=${SWIFT_BRANCH:=swift-${SWIFT_VERSION}-release}
33
SWIFT_TAG=${SWIFT_TAG:=swift-${SWIFT_VERSION}-RELEASE}
44

swift-define

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Version
2-
SWIFT_VERSION=${SWIFT_VERSION:=swift-6.1-RELEASE}
2+
SWIFT_VERSION=${SWIFT_VERSION:=swift-6.0.2-RELEASE}
33
SWIFT_TARGET_ARCH=${SWIFT_TARGET_ARCH:=armv7}
44

55
case ${SWIFT_TARGET_ARCH} in

0 commit comments

Comments
 (0)