Compare commits

...

3 Commits

Author SHA1 Message Date
Yonas Kolb
447cc7f9ac remove homebrew step from release process
now handled by a bot
2024-04-10 20:59:59 +10:00
Yonas Kolb
9816466703 Update to 2.40.1 2024-04-10 20:49:49 +10:00
Yonas Kolb
bc08f53505 Revert "add xcprivacy to no build phase default (#1464)"
This reverts commit ecb9b560ae.
2024-04-10 20:46:22 +10:00
6 changed files with 9 additions and 11 deletions

View File

@ -2,6 +2,12 @@
## Next Version
## 2.40.1
### Fixed
- Reverted `.xcprivacy` handling. They will now again be treated as resources by default @yonaskolb
## 2.40.0
### Added

View File

@ -1,14 +1,12 @@
TOOL_NAME = XcodeGen
export EXECUTABLE_NAME = xcodegen
VERSION = 2.40.0
VERSION = 2.40.1
PREFIX = /usr/local
INSTALL_PATH = $(PREFIX)/bin/$(EXECUTABLE_NAME)
SHARE_PATH = $(PREFIX)/share/$(EXECUTABLE_NAME)
CURRENT_PATH = $(PWD)
REPO = https://github.com/yonaskolb/$(TOOL_NAME)
RELEASE_TAR = $(REPO)/archive/$(VERSION).tar.gz
SHA = $(shell curl -L -s $(RELEASE_TAR) | shasum -a 256 | sed 's/ .*//')
SWIFT_BUILD_FLAGS = --disable-sandbox -c release --arch arm64 --arch x86_64
BUILD_PATH = $(shell swift build $(SWIFT_BUILD_FLAGS) --show-bin-path)
EXECUTABLE_PATH = $(BUILD_PATH)/$(EXECUTABLE_NAME)
@ -42,10 +40,6 @@ release:
publish: archive brew
echo "published $(VERSION)"
brew:
brew update
brew bump-formula-pr --url=$(RELEASE_TAR) XcodeGen
archive: build
./scripts/archive.sh "$(EXECUTABLE_PATH)"
swift package plugin --allow-writing-to-package-directory generate-artifact-bundle \

View File

@ -113,7 +113,7 @@ swift run xcodegen
Add the following to your Package.swift file's dependencies:
```swift
.package(url: "https://github.com/yonaskolb/XcodeGen.git", from: "2.40.0"),
.package(url: "https://github.com/yonaskolb/XcodeGen.git", from: "2.40.1"),
```
And then import wherever needed: `import XcodeGenKit`

View File

@ -8,4 +8,3 @@
1. Push commit and tag to github
1. Create release from tag on GitHub using the version number and relevant changelog contents
1. Run `make archive` and upload `xcodegen.zip` and `xcodegen.artifactbundle.zip` to the github release
1. Run `make brew` which will open a PR on homebrew core

View File

@ -120,6 +120,5 @@ extension FileType {
"apns": FileType(buildPhase: BuildPhaseSpec.none),
"pch": FileType(buildPhase: BuildPhaseSpec.none),
"xctestplan": FileType(buildPhase: BuildPhaseSpec.none),
"xcprivacy": FileType(buildPhase: BuildPhaseSpec.none),
]
}

View File

@ -3,6 +3,6 @@ import ProjectSpec
import XcodeGenCLI
import Version
let version = Version("2.40.0")
let version = Version("2.40.1")
let cli = XcodeGenCLI(version: version)
cli.execute()