set up auto build of executables and advance version number
Build and Release Amsterdam Assets / build-and-upload (release) Failing after 1m0s

This commit is contained in:
2026-04-29 22:29:35 -06:00
parent 631215f6a0
commit 10a347747e
3 changed files with 74 additions and 3 deletions
+67
View File
@@ -0,0 +1,67 @@
name: Build and Release Amsterdam Assets
on:
release:
types: [published]
jobs:
build-and-upload:
runs-on: host
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.26'
- name: Build Binaries
run: |
# Build targets: Linux AMD64, Linux ARM64 (RPi), Windows AMD64, macOS ARM64 (Apple Silicon), macOS AMD64 (Intel)
GOOS=linux GOARCH=amd64 go build -o amsterdam-linux-amd64
GOOS=linux GOARCH=arm64 go build -o amsterdam-linux-arm64
GOOS=windows GOARCH=amd64 go build -o amsterdam-windows-amd64.exe
GOOS=darwin GOARCH=arm64 go build -o amsterdam-macos-arm64
GOOS=darwin GOARCH=amd64 go build -o amsterdam-macos-amd64
- name: Upload Linux AMD64 Binary
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./amsterdam-linux-amd64
asset_name: amsterdam-linux-amd64
asset_content_type: application/octet-stream
- name: Upload Linux ARM64 Binary
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./amsterdam-linux-arm64
asset_name: amsterdam-linux-arm64
asset_content_type: application/octet-stream
- name: Upload Windows Binary
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./amsterdam-windows-amd64.exe
asset_name: amsterdam-windows-amd64.exe
asset_content_type: application/vnd.microsoft.portable-executable
- name: Upload Mac ARM64 Binary
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./amsterdam-macos-arm64
asset_name: amsterdam-macos-arm64
asset_content_type: application/octet-stream
- name: Upload Mac AMD64 Binary
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./amsterdam-macos-amd64
asset_name: amsterdam-macos-amd64
asset_content_type: application/octet-stream
+1 -1
View File
@@ -30,7 +30,7 @@ import (
) )
// AMSTERDAM_VERSION contains the version number of Amsterdam. // AMSTERDAM_VERSION contains the version number of Amsterdam.
const AMSTERDAM_VERSION = "0.1.1" const AMSTERDAM_VERSION = "0.2.0"
// AMSTERDAM_COPYRIGHT contains the copyright dates for Amsterdam. // AMSTERDAM_COPYRIGHT contains the copyright dates for Amsterdam.
const AMSTERDAM_COPYRIGHT = "2025-2026" const AMSTERDAM_COPYRIGHT = "2025-2026"
+6 -2
View File
@@ -1,11 +1,11 @@
# Changelog # Changelog
## Release 0.2.0 - {{date}} ## Release 0.2.0 - April 29, 2026
### Bug Fixes ### Bug Fixes
* Architectural error: conference aliases now have community scope, rather than global scope. * Architectural error: conference aliases now have community scope, rather than global scope.
* Fis to link for showing hidden posts. * Fix to link for showing hidden posts.
### Enhancements ### Enhancements
@@ -13,6 +13,10 @@
* Admin can now change the name of a user account (issue #2). * Admin can now change the name of a user account (issue #2).
* Apple site icon added (issue #5). * Apple site icon added (issue #5).
### Meta-Enhancements
* Action included to automagically build binaries when a release happens.
## Release 0.1.1 - April 11, 2020 ## Release 0.1.1 - April 11, 2020
* Fixed a bug in post link resolution at post time which was causing the conference alias to be set incorrectly (issue #3). * Fixed a bug in post link resolution at post time which was causing the conference alias to be set incorrectly (issue #3).