Skip to content

Commit a9f0b99

Browse files
committed
Prepared release 1.1.0
1 parent 38fe244 commit a9f0b99

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

Makefile

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
VERSION = 1.1.0
22
GITBUCKET_VERSION = 4.32.0
3+
SCALA_BIN_VERSION=2.13
34

45
.PHONY: help # List of targets with descriptions
56
help:
@@ -13,16 +14,21 @@ clean:
1314
build:
1415
sbt assembly
1516

17+
target/gitbucket-$(GITBUCKET_VERSION)-asciidoctor-plugin-$(VERSION).jar: build
18+
cp target/scala-$(SCALA_BIN_VERSION)/gitbucket-asciidoctor-plugin-$(VERSION).jar target/gitbucket-$(GITBUCKET_VERSION)-asciidoctor-plugin-$(VERSION).jar
19+
20+
stamped-jar: target/gitbucket-$(GITBUCKET_VERSION)-asciidoctor-plugin-$(VERSION).jar
21+
1622
.PHONY: travis # Build on travis
1723
travis: build
1824

1925
target/gitbucket-${GITBUCKET_VERSION}.war:
2026
mkdir -p target
21-
wget https://github.com/gitbucket/gitbucket/releases/download/${GITBUCKET_VERSION}/gitbucket.war -O target/gitbucket-${GITBUCKET_VERSION}.war
27+
wget https://github.com/gitbucket/gitbucket/releases/download/$(GITBUCKET_VERSION)/gitbucket.war -O target/gitbucket-$(GITBUCKET_VERSION).war
2228

2329
.PHONY: localServer # Start a local gitbucket server with the plugin installed
24-
localServer: build target/gitbucket-${GITBUCKET_VERSION}.war
30+
localServer: stamped-jar target/gitbucket-$(GITBUCKET_VERSION).war
2531
mkdir -p target/DATA/plugins
2632
rm -rf target/DATA/plugins/*
27-
cp target/scala-2.13/gitbucket-asciidoctor-plugin-gitbucket_${GITBUCKET_VERSION}-${VERSION}.jar target/DATA/plugins
28-
java -jar target/gitbucket-${GITBUCKET_VERSION}.war --gitbucket.home=target/DATA
33+
cp target/gitbucket-$(GITBUCKET_VERSION)-asciidoctor-plugin-$(VERSION).jar target/DATA/plugins
34+
java -jar target/gitbucket-$(GITBUCKET_VERSION).war --gitbucket.home=target/DATA

README.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
= gitbucket-asciidoctor-plugin
2-
:plugin-version: 1.1.1
2+
:plugin-version: 1.1.0
33
:scala-version: 2.13
44
:gitbucket-bincompat-version: 4.32.0
55

0 commit comments

Comments
 (0)