Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/build-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,26 @@ jobs:
- name: Install dependencies
run: flutter pub get

- name: Verify tag matches app version
if: startsWith(github.ref, 'refs/tags/v')
run: |
TAG_VERSION="${GITHUB_REF_NAME#v}"
PUBSPEC_VERSION=$(python3 - <<'PY'
import pathlib
import re

match = re.search(r"^version:\\s*([^+\\s]+)", pathlib.Path("pubspec.yaml").read_text(), re.M)
if not match:
raise SystemExit("pubspec.yaml is missing a version line")
print(match.group(1))
PY
)

if [ "$TAG_VERSION" != "$PUBSPEC_VERSION" ]; then
echo "Release tag v$TAG_VERSION does not match pubspec.yaml version $PUBSPEC_VERSION"
exit 1
fi

- name: Set up release keystore
env:
KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }}
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project are documented here. This project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html). Release notes for
versions prior to 1.0.7 are in the **What's new** sections of the [README](README.md).

## [1.0.13]

### Changed
- Updated the Flutter package version to `1.0.13+113` so generated Android
builds report the same version as the GitHub `v1.0.13` release.

## [1.0.12]

### Added
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: hermes_android
description: "Hermes Agent — chat with your Hermes Gateway API Server over LAN. SSE streaming, Bearer auth, session management."
publish_to: 'none'
version: 1.0.12+112
version: 1.0.13+113

environment:
sdk: ^3.12.0
Expand Down
Loading