diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c795db2..38e2f5c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,7 +65,7 @@ jobs: run: | VERSION=$(grep "versionName" app/build.gradle.kts | awk '{print $3}' | tr -d \") echo "VERSION=$VERSION" >> $GITHUB_OUTPUT - + - name: Check if Tag Exists and Modify id: f_tag run: | @@ -73,11 +73,13 @@ jobs: git fetch --tags --prune if git rev-parse "v${VERSION}" >/dev/null 2>&1; then echo "TAG_EXISTS=true" >> $GITHUB_OUTPUT - new_version="${VERSION}-build-${{ github.run_number }}" - echo "VERSION=$new_version" >> $GITHUB_OUTPUT + N=2 + while git rev-parse "v${VERSION}-build-${N}" >/dev/null 2>&1; do + N=$((N + 1)) + done + echo "VERSION=${VERSION}-build-${N}" >> $GITHUB_OUTPUT else echo "TAG_EXISTS=false" >> $GITHUB_OUTPUT - # keep original version echo "VERSION=$VERSION" >> $GITHUB_OUTPUT fi diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..f378739 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,18 @@ +# Changelog + +All notable changes to ViNotes are documented in this file. + +## [1.1.0] — 2026-11-26 + +Bug-fix and polish release merging PRs #24–#31. + +### Fixed + +- **#10** — Prevent accidental dismissal of add/edit wine and filter bottom sheets when the form has unsaved changes (#27). +- **#17** — Catalogue re-import no longer deletes tastings or overwrites user-edited wine fields (#24). +- **#18** — Wine colour filter chips wrap on narrow screens instead of being clipped (#28). +- **#19** — Accept `ROSÉ` and accent-insensitive catalogue colour values on file and web import (#25). +- **#20** — Dashboard loading spinner clears after “Delete all data” (#26). +- **#21** — Declare location hardware optional via `uses-feature` for correct Play Store filtering (#29). +- **#22** — Hungarian Stats strings, localized period chips and heatmap weekdays, and assorted UX fixes (#30). +- **#23** — Rating arc slider no longer jumps to 100 when dragging below the left end (#31). \ No newline at end of file diff --git a/app/build.gradle.kts b/app/build.gradle.kts index a74681f..f661fb4 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -20,8 +20,8 @@ android { minSdk = 24 //noinspection OldTargetApi ... like why. the andorid 17 (sdk level 37) is still not out, why do you want to target it? also, the compile sdk is 36, so you can't target 37. just stop. targetSdk = 36 - versionCode = 2 - versionName = "1.0.1" + versionCode = 3 + versionName = "1.1.0" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" }