Skip to content

Commit 7b7d28a

Browse files
committed
update release script
1 parent 8b9a76a commit 7b7d28a

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<groupId>io.github.larscom</groupId>
88
<artifactId>bitvavo-java</artifactId>
99
<packaging>jar</packaging>
10-
<version>0.0.2</version>
10+
<version>0.0.3</version>
1111

1212
<name>Bitvavo Java Library</name>
1313
<description>Bitvavo Java library to interact with the Bitvavo platform</description>

release.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,14 @@ if git tag --list | grep -q "^$TAG$"; then
1818
exit 1
1919
fi
2020

21+
echo "Updating version in README.md to $VERSION"
22+
sed -i "s|\(<version>\)[^<]*\(</version>\)|\1$VERSION\2|" README.md
23+
24+
git add README.md
25+
git commit -m "update README.md dependency version to $VERSION"
26+
2127
git tag -a "$TAG" -m "Release $TAG"
2228

2329
git push --follow-tags
2430

25-
echo "Tag $TAG created and pushed successfully."
31+
echo "Tag $TAG created, README.md updated, and everything pushed successfully."

0 commit comments

Comments
 (0)