Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
Binary file added .github/.DS_Store
Binary file not shown.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,11 @@ jobs:

# 5. add Tag
git add pom.xml
git commit --allow-empty -m "Release version $RELEASE_VERSION"
git tag v$RELEASE_VERSION
git commit -m "Release version $RELEASE_VERSION"
RELEASE_COMMIT=$(git rev-parse HEAD)

git push origin $RELEASE_COMMIT
git tag v$RELEASE_VERSION $RELEASE_COMMIT
git push origin v$RELEASE_VERSION

- name: Prepare Next Development Iteration
Expand Down
9 changes: 6 additions & 3 deletions src/java/com/doda25/team24/VersionUtil.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
package java.com.doda25.team24;

public final class VersionUtil {

public static String getVersion() {
String v = VersionUtil.class.getPackage().getImplementationVersion();
return v;
return VersionUtil.class
.getPackage()
.getImplementationVersion();
}
}

}