mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-09-22 04:50:46 +02:00
chore(release): v2.2.8 version bump and changelog scaffold
This commit is contained in:
parent
73d48567b6
commit
a9a9350aa0
5 changed files with 21 additions and 59 deletions
60
.github/workflows/dockerhub-publish.yml
vendored
60
.github/workflows/dockerhub-publish.yml
vendored
|
@ -119,60 +119,10 @@ jobs:
|
||||||
build-args: |
|
build-args: |
|
||||||
APP_VERSION=${{ needs.prepare.outputs.version }}
|
APP_VERSION=${{ needs.prepare.outputs.version }}
|
||||||
|
|
||||||
build_arm64_native:
|
build_arm64:
|
||||||
name: Build (arm64 native)
|
name: Build (arm64)
|
||||||
# Native ARM64 GitHub hosted runner; if unavailable replace with self-hosted label
|
|
||||||
runs-on: ubuntu-24.04-arm64
|
|
||||||
needs: prepare
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
timeout-minutes: 10
|
|
||||||
continue-on-error: true
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v5.0.0
|
|
||||||
|
|
||||||
- name: Prepare arm64 tag list
|
|
||||||
id: arch_tags
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
echo "Generating arm64 tag variants (native)" >&2
|
|
||||||
TAGS='${{ needs.prepare.outputs.tags }}'
|
|
||||||
# Exclude 'latest' so only final manifest produces plain 'latest'
|
|
||||||
echo "$TAGS" | grep -v ':latest$' | sed 's/$/-arm64/' | grep . > tags.txt
|
|
||||||
echo "Computed tags:" >&2; cat tags.txt >&2
|
|
||||||
echo "tags<<EOF" >> $GITHUB_OUTPUT
|
|
||||||
cat tags.txt >> $GITHUB_OUTPUT
|
|
||||||
echo "EOF" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Docker Hub login
|
|
||||||
uses: docker/login-action@v3.5.0
|
|
||||||
with:
|
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3.11.1
|
|
||||||
|
|
||||||
- name: Build & push arch image (arm64 native)
|
|
||||||
id: build
|
|
||||||
uses: docker/build-push-action@v6.18.0
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
file: ./Dockerfile
|
|
||||||
push: true
|
|
||||||
platforms: linux/arm64
|
|
||||||
tags: ${{ steps.arch_tags.outputs.tags }}
|
|
||||||
labels: ${{ needs.prepare.outputs.labels }}
|
|
||||||
build-args: |
|
|
||||||
APP_VERSION=${{ needs.prepare.outputs.version }}
|
|
||||||
|
|
||||||
build_arm64_emulated:
|
|
||||||
name: Build (arm64 emulated fallback)
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [prepare, build_arm64_native]
|
needs: prepare
|
||||||
# Run if native arm64 did NOT succeed (failure, cancelled, or skipped)
|
|
||||||
if: needs.build_arm64_native.result != 'success'
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
|
@ -218,7 +168,7 @@ jobs:
|
||||||
manifest:
|
manifest:
|
||||||
name: Create multi-arch manifests
|
name: Create multi-arch manifests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [prepare, build_amd64, build_arm64_native, build_arm64_emulated]
|
needs: [prepare, build_amd64, build_arm64]
|
||||||
steps:
|
steps:
|
||||||
- name: Docker Hub login
|
- name: Docker Hub login
|
||||||
uses: docker/login-action@v3.5.0
|
uses: docker/login-action@v3.5.0
|
||||||
|
@ -231,7 +181,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
TAGS: ${{ needs.prepare.outputs.tags }}
|
TAGS: ${{ needs.prepare.outputs.tags }}
|
||||||
run: |
|
run: |
|
||||||
echo "Creating multi-arch manifests (native preferred, fallback if needed)..."
|
echo "Creating multi-arch manifests (amd64 + arm64)..."
|
||||||
VERSION_PRIMARY=$(echo "$TAGS" | grep -v ':latest$' | head -n1)
|
VERSION_PRIMARY=$(echo "$TAGS" | grep -v ':latest$' | head -n1)
|
||||||
echo "$TAGS" | while read -r tag; do
|
echo "$TAGS" | while read -r tag; do
|
||||||
[ -z "$tag" ] && continue
|
[ -z "$tag" ] && continue
|
||||||
|
|
11
CHANGELOG.md
11
CHANGELOG.md
|
@ -21,6 +21,17 @@ This format follows Keep a Changelog principles and aims for Semantic Versioning
|
||||||
### Fixed
|
### Fixed
|
||||||
- (placeholder)
|
- (placeholder)
|
||||||
|
|
||||||
|
## [2.2.8] - 2025-09-10
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- (placeholder)
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- (placeholder)
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- (placeholder)
|
||||||
|
|
||||||
## [2.2.7] - 2025-09-10
|
## [2.2.7] - 2025-09-10
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -30,7 +30,7 @@ services:
|
||||||
|
|
||||||
# Compliance/exports
|
# Compliance/exports
|
||||||
WEB_AUTO_ENFORCE: "0" # 1=auto-apply bracket enforcement and re-export
|
WEB_AUTO_ENFORCE: "0" # 1=auto-apply bracket enforcement and re-export
|
||||||
APP_VERSION: "v2.2.7" # Optional label shown in footer
|
APP_VERSION: "v2.2.8" # Optional label shown in footer
|
||||||
# WEB_CUSTOM_EXPORT_BASE: "" # Optional custom export basename
|
# WEB_CUSTOM_EXPORT_BASE: "" # Optional custom export basename
|
||||||
|
|
||||||
# Paths (optional overrides)
|
# Paths (optional overrides)
|
||||||
|
|
|
@ -32,7 +32,7 @@ services:
|
||||||
|
|
||||||
# Compliance/exports
|
# Compliance/exports
|
||||||
WEB_AUTO_ENFORCE: "0"
|
WEB_AUTO_ENFORCE: "0"
|
||||||
APP_VERSION: "v2.2.7"
|
APP_VERSION: "v2.2.8"
|
||||||
# WEB_CUSTOM_EXPORT_BASE: ""
|
# WEB_CUSTOM_EXPORT_BASE: ""
|
||||||
|
|
||||||
# Paths (optional overrides)
|
# Paths (optional overrides)
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["setuptools>=61.0", "wheel"]
|
# Bumped setuptools minimum to avoid older vulnerable releases; wheel bumped for newer build metadata support
|
||||||
|
requires = ["setuptools>=70.0.0", "wheel>=0.43.0"]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "mtg-deckbuilder"
|
name = "mtg-deckbuilder"
|
||||||
version = "2.2.7"
|
version = "2.2.8"
|
||||||
description = "A command-line tool for building and analyzing Magic: The Gathering decks"
|
description = "A command-line tool for building and analyzing Magic: The Gathering decks"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = {file = "LICENSE"}
|
license = {file = "LICENSE"}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue