Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e5d0b8d
commit 4ef54a2
Showing
6 changed files
with
44 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CHANGELOG_START_TAG=ical4j-3.1.1 | ||
CHANGELOG_END_TAG=HEAD | ||
|
||
GRADLE_VERSION=6.9.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
SHELL:=/bin/bash | ||
include .env | ||
|
||
.PHONY: all gradlew clean build zoneinfo changelog currentVersion markNextVersion release publish | ||
|
||
all: test | ||
|
||
gradlew: | ||
./gradlew wrapper --gradle-version=$(GRADLE_VERSION) --distribution-type=bin | ||
|
||
clean: | ||
./gradlew clean | ||
|
||
test: | ||
./gradlew test | ||
|
||
build: | ||
./gradlew build | ||
|
||
zoneinfo: | ||
docker pull benfortuna/tzurl && \ | ||
docker run -v $(pwd)/src/main/resources/zoneinfo:/zoneinfo -it benfortuna/tzurl rsync -av --delete /usr/local/apache2/htdocs/zoneinfo / && \ | ||
docker run -v $(pwd)/src/main/resources/zoneinfo-global:/zoneinfo-global -it benfortuna/tzurl rsync -av --delete /usr/local/apache2/htdocs/zoneinfo-global / | ||
|
||
changelog: | ||
git log "$(CHANGELOG_START_TAG)...$(CHANGELOG_END_TAG)" \ | ||
--pretty=format:'* %s [View commit](http://github.com/ical4j/ical4j/commit/%H)' --reverse | grep -v Merge | ||
|
||
currentVersion: | ||
./gradlew -q currentVersion | ||
|
||
markNextVersion: | ||
NEXT_VERSION=$(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS)) | ||
./gradlew markNextVersion -Prelease.version=$(NEXT_VERSION) | ||
|
||
release: | ||
./gradlew release | ||
|
||
publish: | ||
./gradlew publish |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.