Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initial automated release build workflow #221

Merged
merged 1 commit into from
Jul 20, 2023
Merged
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
32 changes: 32 additions & 0 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# 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
with:
# NOTE: Library projects such as atc0005/go-nagios or
# atc0005/go-teams-notify explicitly set this value to false to avoid
# generating release assets as part of creating an automated release
# upon pushing a tag.
#
# See also:
#
# - https://github.com/atc0005/shared-project-resources/pull/141
#
generate-assets: false
Loading