Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/netchris/semver-release
Facilitate releases with SemVer enforcement
https://github.com/netchris/semver-release
Last synced: about 2 months ago
JSON representation
Facilitate releases with SemVer enforcement
- Host: GitHub
- URL: https://github.com/netchris/semver-release
- Owner: NetChris
- Created: 2024-01-21T21:19:00.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-22T07:02:43.000Z (12 months ago)
- Last Synced: 2024-01-23T02:09:46.974Z (12 months ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# semver-release
Enforce the ref for a release. The git ref:- MUST be a SemVer version
- MUST NOT have a pre-release version## Using
``` yaml
name: Releaseon:
release:
types: [prereleased]jobs:
publish_release:
runs-on: ubuntu-latest
name: NAME
steps:
- name: Enforce SemVer for pre-release
id: enforce_semver
uses: NetChris/semver-release@SHA
- name: Use the SemVer version
run: echo Do something with semver_version: ${{ steps.enforce_semver.outputs.semver_version }}
```Use the latest (or most-appropriate) SHA to ensure consistent results.