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

Pre-Release Not Supported #23

Open
ghost opened this issue Mar 10, 2021 · 0 comments
Open

Pre-Release Not Supported #23

ghost opened this issue Mar 10, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 10, 2021

Semantic Versioning requires pre-releases to have the version number followed by a hyphen and a dot separated identifiers. For example, 1.0.0-alpha.1

However, autotag removes characters after 1.0.0 in the above example. This means that Semantic Versioning will not create a pre-release tag.

My workflow:
`name: Create Tag

on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: butlerlogic/action-autotag@stable
with:
strategy: docker
root: /mypath
tag_suffix: -Alpha
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"`

In my Dockerfile, I set the VERSION = 1.0.0-Alpha.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants