diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ab2c140..d02cac3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,9 +29,9 @@ jobs: - name: Calculate next version id: next_version run: | - # Use npm version to calculate the next version without modifying files + # Use npm version to calculate the next version without modifying files CURRENT_VERSION=$(node -p "require('./package.json').version") - NEW_VERSION=$(npm version ${{ github.event.inputs.version }} --no-git-tag-version) + NEW_VERSION=$(npx semver $CURRENT_VERSION -i ${{ github.event.inputs.version }}) # Restore package.json to avoid dirty state git checkout package.json package-lock.json 2>/dev/null || true @@ -106,6 +106,7 @@ jobs: name: ${{ steps.bump.outputs.version }} body: ${{ steps.changelog.outputs.notes }} files: ${{ steps.pack.outputs.tgz }} + target_commitish: ${{ github.sha }} fail_on_unmatched_files: true draft: false prerelease: false diff --git a/CHANGELOG.md b/CHANGELOG.md index 01bbb24..22d2c43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - We fixed an issue that could cause iOS apps to restart repeatedly after an OTA update. +## [v0.3.4] - 2026-06-22 + +- We fixed an issue that could cause iOS apps to restart repeatedly after an OTA update. + ## [v0.3.3] - 2026-06-03 - We fixed an issue that could cause Android apps to restart repeatedly after an OTA update. diff --git a/package.json b/package.json index 0634134..cb75d74 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mendix-native", - "version": "0.3.3", + "version": "0.3.4", "description": "Mendix native mobile package", "main": "./lib/module/index.js", "types": "./lib/typescript/src/index.d.ts",