File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -48,11 +48,10 @@ jobs:
48
48
VERSION_MINOR=${VERSION_MINOR/\*/${CURRENT_VERSION_MINOR}} && VERSION_MINOR=${VERSION_MINOR/+/$((CURRENT_VERSION_MINOR+1))}
49
49
VERSION_PATCH=${VERSION_PATCH/\*/${CURRENT_VERSION_PATCH}} && VERSION_PATCH=${VERSION_PATCH/+/$((CURRENT_VERSION_PATCH+1))}
50
50
VERSION="${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}"
51
- PACKAGE_JSON_CONTENTS=$(jq '.version="'"$VERSION"'" \
52
- | .consolePlugin.version="'"$VERSION"'" \
53
- | ._id="activemq-artemis-jolokia-api-server@'$VERSION'"' package.json) \
54
- && echo -E "${PACKAGE_JSON_CONTENTS}" > package.json && unset PACKAGE_JSON_CONTENTS
55
51
sed -i "s~^LABEL version=.*~LABEL version=\"${VERSION}\"~g" Dockerfile
52
+ sed -i "s~^ \"version\":.*\"~ \"version\": \"${VERSION}\"~g" package.json
53
+ sed -i "s~^ \"version\":.*\"~ \"version\": \"${VERSION}\"~g" package.json
54
+ sed -i "s~activemq-artemis-jolokia-api-server@.*~activemq-artemis-jolokia-api-server@${VERSION}\",~g" package.json
56
55
git commit --all --message "Update version to ${VERSION}" || echo "nothing to commit"
57
56
58
57
- name : Push commits
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " activemq-artemis-jolokia-api-server" ,
3
- "version" : " 0.1.2 " ,
3
+ "version" : " 0.2.3 " ,
4
4
"private" : true ,
5
5
"homepage" : " https://github.com/arkmq-org/activemq-artemis-jolokia-api-server#readme" ,
6
6
"bugs" : {
70
70
"yaml" : " ^2.4.5"
71
71
},
72
72
"readme" : " README.md" ,
73
- "_id" : " activemq-artemis-jolokia-api-server@0.1.2 " ,
73
+ "_id" : " activemq-artemis-jolokia-api-server@0.2.3 " ,
74
74
"packageManager" :
" [email protected] +sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" ,
75
75
"dependencies" : {
76
76
"base-64" : " ^1.0.0" ,
You can’t perform that action at this time.
0 commit comments