Skip to content

Commit

Permalink
change default version
Browse files Browse the repository at this point in the history
  • Loading branch information
Aymen committed Jul 17, 2024
1 parent bf47257 commit b5a0fe4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
git commit -m "Bump version to $NEW_VERSION"
git tag $NEW_VERSION
git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/aymenbs2/AymoAi.git --tags
git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/aymenbs2/AymoAi.git HEAD:main
git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/aymenbs2/AymoAi.git
- name: Build with Gradle
run: ./gradlew build
Expand Down
2 changes: 1 addition & 1 deletion increment_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# increment_version.sh

# Get the latest tag from git
latest_tag=$(git describe --tags --abbrev=0 2>/dev/null || echo "1.1.1")
latest_tag=$(git describe --tags --abbrev=0 2>/dev/null || echo "1.2.1")

# Extract the major, minor, and patch numbers
IFS='.' read -r -a version_parts <<< "$latest_tag"
Expand Down

0 comments on commit b5a0fe4

Please sign in to comment.