Skip to content

Commit

Permalink
Add initial automated release build workflow
Browse files Browse the repository at this point in the history
Provide workflow used to automate the creation of GitHub releases upon
pushing a tag. The "upstream" workflow imported by this one applies
conditional logic (based on tag name) to determine whether a stable or
pre-release GitHub release is created.

By default, release assets are generated and provided by the release.
Library projects explicitly forgo the explicit generation of release
assets.

refs atc0005/todo#33
refs atc0005/todo#45
refs atc0005/todo#65
refs atc0005/shared-project-resources#141
  • Loading branch information
atc0005 committed Jul 20, 2023
1 parent 4606b4a commit 3c167c3
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# See LICENSE file in this repo for license details.

name: Release Build

on:
push:
tags:
# Match any semver tag, rely on the imported workflow to apply necessary
# logic to separate "stable" release builds from "prerelease" builds.
- "v[0-9]+.[0-9]+.*"

jobs:
release_build:
name: Generate release build

# https://docs.github.com/en/actions/security-guides/automatic-token-authentication
permissions:
contents: write
discussions: write

uses: atc0005/shared-project-resources/.github/workflows/release-build.yml@master

0 comments on commit 3c167c3

Please sign in to comment.