Skip to content

Pre-Release Not Supported #23

@ghost

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions