Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 445 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 445 Bytes

action-version-release

Simple GitHub Action to write VERSION.txt and include it in each release. Note this force updates the release tag, such that the tagged commit contains the new VERSION.txt file.

Usage

name: Release

on:
  release:
    types: [published]
    branches: [main]

jobs:
  version:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: BattlesnakeOfficial/action-version-txt@v1