K-Phoen / semver-release-action

GitHub Action to automatically create SemVer compliant releases based on PR labels.
MIT License
85 stars 38 forks source link

bumping up tags only #24

Closed nkpgardose closed 4 years ago

nkpgardose commented 4 years ago

Hello! I really liked this solution on doing git tags & release based on labels of an PR.

Is there a possible way or example on how to bump up version on tags only but not execute release?

K-Phoen commented 4 years ago

That's currently not possible... but it will soon be ;)

K-Phoen commented 4 years ago

The latest version allows this behavior by configuring a different release strategy:

name: Release

on:
  pull_request:
    types: closed

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Tag
        uses: K-Phoen/semver-release-action@master
        with:
          release_branch: master
          release_strategy: tag
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
nkpgardose commented 4 years ago

Love it! Thank you @K-Phoen. 👍