From a8a290ef778e7402e6636e68d6c532d669eaaac6 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 26 Nov 2026 11:20:45 +0000 Subject: [PATCH 1/2] Release 1.1.0: bump version and changelog - versionName 1.1.0, versionCode 3 - Add CHANGELOG.md for PRs #24-#31 (issues #10, #17-#23) - Tag releases as v{versionName}-build-{versionCode} in release workflow Co-authored-by: T0liver --- .github/workflows/release.yml | 11 +++++++---- CHANGELOG.md | 18 ++++++++++++++++++ app/build.gradle.kts | 4 ++-- 3 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c795db2..116cdba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,21 +64,24 @@ jobs: id: get_version run: | VERSION=$(grep "versionName" app/build.gradle.kts | awk '{print $3}' | tr -d \") + VERSION_CODE=$(grep "versionCode" app/build.gradle.kts | awk '{print $3}') echo "VERSION=$VERSION" >> $GITHUB_OUTPUT - + echo "VERSION_CODE=$VERSION_CODE" >> $GITHUB_OUTPUT + - name: Check if Tag Exists and Modify id: f_tag run: | VERSION="${{ steps.get_version.outputs.VERSION }}" + VERSION_CODE="${{ steps.get_version.outputs.VERSION_CODE }}" + RELEASE_VERSION="${VERSION}-build-${VERSION_CODE}" git fetch --tags --prune - if git rev-parse "v${VERSION}" >/dev/null 2>&1; then + if git rev-parse "v${RELEASE_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 else echo "TAG_EXISTS=false" >> $GITHUB_OUTPUT - # keep original version - echo "VERSION=$VERSION" >> $GITHUB_OUTPUT + echo "VERSION=$RELEASE_VERSION" >> $GITHUB_OUTPUT fi - name: Download artifacts 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" } From 0025f0455d32a3fd95eb42a36297f6d4400902d7 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 26 Nov 2026 11:49:15 +0000 Subject: [PATCH 2/2] Release workflow: plain v{versionName} tag, build-N fallback from 2 Co-authored-by: T0liver --- .github/workflows/release.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 116cdba..38e2f5c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,24 +64,23 @@ jobs: id: get_version run: | VERSION=$(grep "versionName" app/build.gradle.kts | awk '{print $3}' | tr -d \") - VERSION_CODE=$(grep "versionCode" app/build.gradle.kts | awk '{print $3}') echo "VERSION=$VERSION" >> $GITHUB_OUTPUT - echo "VERSION_CODE=$VERSION_CODE" >> $GITHUB_OUTPUT - name: Check if Tag Exists and Modify id: f_tag run: | VERSION="${{ steps.get_version.outputs.VERSION }}" - VERSION_CODE="${{ steps.get_version.outputs.VERSION_CODE }}" - RELEASE_VERSION="${VERSION}-build-${VERSION_CODE}" git fetch --tags --prune - if git rev-parse "v${RELEASE_VERSION}" >/dev/null 2>&1; then + 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 - echo "VERSION=$RELEASE_VERSION" >> $GITHUB_OUTPUT + echo "VERSION=$VERSION" >> $GITHUB_OUTPUT fi - name: Download artifacts