From 5aa11ad926f6751e80643a68df10fe82745e175d Mon Sep 17 00:00:00 2001 From: Swetha Swaminathan Date: Tue, 23 Jun 2026 17:28:45 +0530 Subject: [PATCH 1/2] Update go module name --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 000bcdd..7fc36eb 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module aproxy +module github.com/canonical/aproxy go 1.24.0 From 20bbce83cd96e786a50ecaf48ec470c2f97a2acb Mon Sep 17 00:00:00 2001 From: Swetha Swaminathan Date: Tue, 23 Jun 2026 17:33:24 +0530 Subject: [PATCH 2/2] Update release.yaml --- .github/workflows/release.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ae86d55..05cd368 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,8 +1,12 @@ name: Release on: - push: - branches: [ main ] + workflow_dispatch: + inputs: + tag: + description: 'Release tag (e.g., v1.0.0)' + required: true + type: string permissions: contents: write @@ -23,11 +27,7 @@ jobs: - name: Create tag id: tag run: | - LAST_TAG=$(git describe --tags --match "v[0-9]*.[0-9]*.[0-9]*" --abbrev=0 2>/dev/null || echo "v0.0.0") - VERSION=${LAST_TAG#v} - IFS='.' read -r MAJOR MINOR PATCH <<< "$VERSION" - PATCH=$((PATCH + 1)) - TAG="v${MAJOR}.${MINOR}.${PATCH}" + TAG="${{ inputs.tag }}" echo "tag=$TAG" >> "$GITHUB_OUTPUT" git tag -a "$TAG" -m "Release $TAG" git push origin "$TAG"