remove homebrew step from release process

now handled by a bot
This commit is contained in:
Yonas Kolb 2024-04-10 20:59:59 +10:00
parent 9816466703
commit 447cc7f9ac
2 changed files with 0 additions and 7 deletions

View File

@ -7,8 +7,6 @@ INSTALL_PATH = $(PREFIX)/bin/$(EXECUTABLE_NAME)
SHARE_PATH = $(PREFIX)/share/$(EXECUTABLE_NAME) SHARE_PATH = $(PREFIX)/share/$(EXECUTABLE_NAME)
CURRENT_PATH = $(PWD) CURRENT_PATH = $(PWD)
REPO = https://github.com/yonaskolb/$(TOOL_NAME) 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 SWIFT_BUILD_FLAGS = --disable-sandbox -c release --arch arm64 --arch x86_64
BUILD_PATH = $(shell swift build $(SWIFT_BUILD_FLAGS) --show-bin-path) BUILD_PATH = $(shell swift build $(SWIFT_BUILD_FLAGS) --show-bin-path)
EXECUTABLE_PATH = $(BUILD_PATH)/$(EXECUTABLE_NAME) EXECUTABLE_PATH = $(BUILD_PATH)/$(EXECUTABLE_NAME)
@ -42,10 +40,6 @@ release:
publish: archive brew publish: archive brew
echo "published $(VERSION)" echo "published $(VERSION)"
brew:
brew update
brew bump-formula-pr --url=$(RELEASE_TAR) XcodeGen
archive: build archive: build
./scripts/archive.sh "$(EXECUTABLE_PATH)" ./scripts/archive.sh "$(EXECUTABLE_PATH)"
swift package plugin --allow-writing-to-package-directory generate-artifact-bundle \ swift package plugin --allow-writing-to-package-directory generate-artifact-bundle \

View File

@ -8,4 +8,3 @@
1. Push commit and tag to github 1. Push commit and tag to github
1. Create release from tag on GitHub using the version number and relevant changelog contents 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 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