mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2024-08-17 16:50:25 +03:00
remove homebrew step from release process
now handled by a bot
This commit is contained in:
parent
9816466703
commit
447cc7f9ac
6
Makefile
6
Makefile
@ -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 \
|
||||||
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user