File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed
Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+
5+ if [ -z " $1 " ]; then
6+ echo " Usage: ./bump.sh <new_version>"
7+ echo " Example: ./bump.sh 0.0.28"
8+ exit 1
9+ fi
10+
11+ NEW_VERSION=$1
12+
13+ echo " Bumping version to $NEW_VERSION ..."
14+
15+ # Update config.json
16+ jq " .artifactVersion = \" $NEW_VERSION \" " config.json > config.json.tmp && mv config.json.tmp config.json
17+
18+ echo " ✓ Updated config.json artifactVersion to $NEW_VERSION "
19+ echo " Done! Version bumped to $NEW_VERSION "
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+
5+ echo " Running FastComments Java SDK tests..."
6+
7+ # Run tests for client module
8+ echo " Running client tests..."
9+ cd client
10+ chmod +x gradlew
11+ ./gradlew test
12+
13+ echo " "
14+ echo " ✓ All tests passed!"
You can’t perform that action at this time.
0 commit comments