Skip to content

Commit

Permalink
v1.24.1-beat.1 (#46)
Browse files Browse the repository at this point in the history
* feat: upgrade core

* chore: v1.24.1-beat.1

* ci: use macos-13 for Intel build
  • Loading branch information
igoogolx authored Dec 25, 2024
1 parent abd8145 commit 7ae1cae
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macos-14]
os: [windows-latest, macos-14, macos-13]

steps:
- uses: actions/checkout@v4
Expand All @@ -33,6 +33,13 @@ jobs:
dart run scripts/init.dart -a 'arm64' -s ${{ secrets.GITHUB_TOKEN }}
flutter_distributor release --name ${{ matrix.os }}
mv dist/${VERSION}/lux-${VERSION}+${VERSION}-macos.dmg dist/${VERSION}/lux-${VERSION}-arm64-macos.dmg
- if: matrix.os == 'macos-13'
run: |
VERSION=${GITHUB_REF_NAME#v}
echo Version: $VERSION
echo "VERSION=$VERSION" >> $GITHUB_ENV
npm install -g appdmg
dart run scripts/init.dart -a 'amd64' -s ${{ secrets.GITHUB_TOKEN }}
flutter_distributor release --name ${{ matrix.os }}
mv dist/${VERSION}/lux-${VERSION}+${VERSION}-macos.dmg dist/${VERSION}/lux-${VERSION}-amd64-macos.dmg
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.24.0
version: 1.24.1-beat.1

environment:
sdk: '>=3.0.6 <4.0.0'
Expand Down
2 changes: 1 addition & 1 deletion scripts/init.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ final assetsPath =
final binDir = Directory(path.join(assetsPath, 'bin'));

const rawCoreName = 'itun2socks';
const rawCoreVersion = '1.22.1';
const rawCoreVersion = '1.22.2';

Future downloadLatestCore(String arch, String token) async {
final dio = Dio();
Expand Down

0 comments on commit 7ae1cae

Please sign in to comment.