Skip to content

Commit 88e2da2

Browse files
mbwhitejt-nti
authored andcommitted
[FABCJ-270] Prepare release 1.4.6
- version update - template releases notes - add mising ) to JAR release script - align docker image tagging with other branches Signed-off-by: Matthew B White <[email protected]>
1 parent 4100248 commit 88e2da2

File tree

13 files changed

+42
-14
lines changed

13 files changed

+42
-14
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
apply plugin: 'idea'
88
apply plugin: 'eclipse-wtp'
99
apply plugin: 'com.dorongold.task-tree'
10-
version = '1.4.5'
10+
version = '1.4.6'
1111
buildscript {
1212
repositories {
1313
maven {

ci/azure-pipelines.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ stages:
128128
inputs:
129129
secureFile: secring.gpg
130130
- script: |
131-
env | sort
131+
wget -qO "$PWD/manifest-tool" https://github.com/estesp/manifest-tool/releases/download/v1.0.0/manifest-tool-linux-amd64
132+
chmod +x ./manifest-tool
132133
133134
# temporarily use this approach instead of the gittag
134135
VERSION=$(cat build.gradle | sed -n "s/version =.*'\(.*\)\(-SNAPSHOT\)\?'/\1/p")
@@ -140,18 +141,22 @@ stages:
140141
docker images
141142
docker login ${DOCKER_REGISTRY_URL} --username=${DOCKER_REGISTRY_USERNAME} --password=${DOCKER_REGISTRY_PASSWORD}
142143
echo "Logged in to docker registry"
143-
# tag javaenv image to $PUSH_VERSION
144+
145+
# tag javaenv image
144146
docker tag hyperledger/fabric-javaenv fabric-javaenv:amd64-${VERSION}
147+
145148
# push javaenv to repository
146149
docker push hyperledger/fabric-javaenv:amd64-${VERSION}
150+
./manifest-tool push from-args --platforms linux/amd64 --template "hyperledger/fabric-javaenv:amd64-${VERSION}" --target "hyperledger/fabric-javaenv:${VERSION}"
151+
./manifest-tool push from-args --platforms linux/amd64 --template "hyperledger/fabric-javaenv:amd64-${VERSION}" --target "hyperledger/fabric-javaenv:1.4"
147152
env:
148153
DOCKER_REGISTRY_USERNAME: $(DockerHub-Username)
149154
DOCKER_REGISTRY_PASSWORD: $(DockerHub-Password)
150155
- script: |
151156
env | sort
152157
153158
# temporarily use this approach instead of the gittag
154-
VERSION=$(cat build.gradle | sed -n "s/version =.*'\(.*\)\(-SNAPSHOT\)\?'/\1/p"
159+
VERSION=$(cat build.gradle | sed -n "s/version =.*'\(.*\)\(-SNAPSHOT\)\?'/\1/p")
155160
VERSION=${VERSION// }
156161
echo Version is :${VERSION}:
157162

fabric-chaincode-docker/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,6 @@ task copyAllDeps(type: Copy) {
8080
task buildImage(type: DockerBuildImage) {
8181
dependsOn copyAllDeps
8282
inputDir = project.file('Dockerfile').parentFile
83-
tags = ['hyperledger/fabric-javaenv', 'hyperledger/fabric-javaenv:amd64-1.4.5', 'hyperledger/fabric-javaenv:amd64-latest']
83+
tags = ['hyperledger/fabric-javaenv', 'hyperledger/fabric-javaenv:amd64-1.4.6', 'hyperledger/fabric-javaenv:amd64-latest']
8484
}
8585

fabric-chaincode-example-gradle/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repositories {
1515
}
1616

1717
dependencies {
18-
compile group: 'org.hyperledger.fabric-chaincode-java', name: 'fabric-chaincode-shim', version: '1.4.5'
18+
compile group: 'org.hyperledger.fabric-chaincode-java', name: 'fabric-chaincode-shim', version: '1.4.6'
1919
testCompile group: 'junit', name: 'junit', version: '4.12'
2020
}
2121

fabric-chaincode-example-maven/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1313

1414
<!-- fabric-chaincode-java -->
15-
<fabric-chaincode-java.version>1.4.5</fabric-chaincode-java.version>
15+
<fabric-chaincode-java.version>1.4.6</fabric-chaincode-java.version>
1616

1717
<!-- Logging -->
1818
<logback.version>1.0.13</logback.version>

fabric-chaincode-example-sacc/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repositories {
1515
}
1616

1717
dependencies {
18-
compile group: 'org.hyperledger.fabric-chaincode-java', name: 'fabric-chaincode-shim', version: '1.4.5'
18+
compile group: 'org.hyperledger.fabric-chaincode-java', name: 'fabric-chaincode-shim', version: '1.4.6'
1919
testCompile group: 'junit', name: 'junit', version: '4.12'
2020
}
2121

fabric-chaincode-example-sbe/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repositories {
1515
}
1616

1717
dependencies {
18-
compile group: 'org.hyperledger.fabric-chaincode-java', name: 'fabric-chaincode-shim', version: '1.4.5'
18+
compile group: 'org.hyperledger.fabric-chaincode-java', name: 'fabric-chaincode-shim', version: '1.4.6'
1919
testCompile group: 'junit', name: 'junit', version: '4.12'
2020
}
2121

fabric-chaincode-integration-test/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dependencies {
22
compile project(':fabric-chaincode-docker')
33
testCompile 'org.testcontainers:testcontainers:1.7.1'
4-
testCompile 'org.hyperledger.fabric-sdk-java:fabric-sdk-java:1.4.5'
4+
testCompile 'org.hyperledger.fabric-sdk-java:fabric-sdk-java:1.4.6'
55
compile project(':fabric-chaincode-shim')
66
implementation group: 'org.json', name: 'json', version: '20180813'
77
}

fabric-chaincode-integration-test/src/contracts/fabric-chaincode-example-sacc/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repositories {
1515
}
1616

1717
dependencies {
18-
compile group: 'org.hyperledger.fabric-chaincode-java', name: 'fabric-chaincode-shim', version: '1.4.5'
18+
compile group: 'org.hyperledger.fabric-chaincode-java', name: 'fabric-chaincode-shim', version: '1.4.6'
1919
testCompile group: 'junit', name: 'junit', version: '4.12'
2020
}
2121

fabric-chaincode-integration-test/src/contracts/fabric-chaincode-example-sbe/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repositories {
1515
}
1616

1717
dependencies {
18-
compile group: 'org.hyperledger.fabric-chaincode-java', name: 'fabric-chaincode-shim', version: '1.4.5'
18+
compile group: 'org.hyperledger.fabric-chaincode-java', name: 'fabric-chaincode-shim', version: '1.4.6'
1919
testCompile group: 'junit', name: 'junit', version: '4.12'
2020
}
2121

0 commit comments

Comments
 (0)