Skip to content

Commit

Permalink
use git to find last version
Browse files Browse the repository at this point in the history
  • Loading branch information
F43nd1r committed Apr 12, 2021
1 parent 82d326e commit ef898b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

echo "Type version to release [Current version: $(./gradlew version --no-daemon --quiet --console=plain -Dorg.gradle.jvmargs=-Xmx4g)]"
echo "Type version to release [Current version: $(git describe --abbrev=0)]"
read -r version
git tag -a "acra-$version" -m "Create version $version"
git push --tags

0 comments on commit ef898b8

Please sign in to comment.