Skip to content

Commit 43f8131

Browse files
committed
tweaks
1 parent 596922b commit 43f8131

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

release.sh

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,22 @@ repository=$2
1111
# replace all development versions with release version
1212
replacement="s/0.0-DEVELOPMENT/$version/g"
1313
find . -name "pom.xml" -exec sed -i -e "$replacement" {} \;
14+
find . -name "build.gradle" -exec sed -i -e "$replacement" {} \;
1415

1516
# commit tag of version name
16-
git add pom.xml
17-
git add flapi-build-plugin/pom.xml
18-
git add flapi-build-project/pom.xml
19-
git add flapi-build-test-consumer/pom.xml
20-
git add flapi-build-test-producer/pom.xml
21-
git add flapi-descriptor/pom.xml
22-
git add flapi-parent/pom.xml
23-
git add flapi-runtime/pom.xml
17+
#git add pom.xml
18+
#git add flapi-build-plugin/pom.xml
19+
#git add flapi-build-project/pom.xml
20+
#git add flapi-build-test-consumer/pom.xml
21+
#git add flapi-build-test-producer/pom.xml
22+
#git add flapi-descriptor/pom.xml
23+
#git add flapi-gradle-plugin/pom.xml
24+
#git add flapi-parent/pom.xml
25+
#git add flapi-plugin/pom.xml
26+
#git add flapi-runtime/pom.xml
2427

25-
git commit -m"releasing version $version"
26-
git tag $version
28+
#git commit -m"releasing version $version"
29+
#git tag $version
2730

2831

2932
# build and release the project
@@ -36,4 +39,4 @@ cd ..
3639
#find . -name "pom.xml" -exec sed -i -e "$replacement" {} \;
3740

3841
# reset to the last working commit
39-
git reset --hard HEAD~1
42+
#git reset --hard HEAD~1

0 commit comments

Comments
 (0)