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

Manual tag creation to trigger release #160

Open
neilfarmer opened this issue Sep 7, 2023 · 1 comment
Open

Manual tag creation to trigger release #160

neilfarmer opened this issue Sep 7, 2023 · 1 comment

Comments

@neilfarmer
Copy link

Hi!

Thanks for the tool, its really awesome!

I do have a question tho, Is there a way to trigger manual releases via pushing a tag?

I want to create a tag v1.2.3 and when that tag is created, it will push the release.

Im using the gitlab plugin with the following config:

{
  "plugins": {
    "commit-analyzer": {
      "name": "default"
    },
    "ci-condition": {
      "name": "default"
    },
    "changelog-generator": {
      "name": "default",
      "options": {
        "emojis": "true"
      }
    },
    "provider": {
      "name": "gitlab",
      "options": {
        "gitlab_projectid": "xxx"
      }
    },
    "hooks": {
      "names": [
        "exec"
      ],
      "options": {
        "exec_on_success": "echo something",
        "exec_on_no_release": "echo nothing"
      }
    }
  }
}

I checked all the CLI flags and used the --match and --maintained-version but nothing seemed to have worked.

Any info would be greatly appreciated!

Thanks again!

-Neil

@christophwitzko
Copy link
Member

Hey @neilfarmer, thank you ☺️

The idea behind the tool is to automate software versioning. Therefore, tags should not be created manually.
I am curious to hear a bit more about your use case and where you want to use semantic-release in combination with manual tagging.

Best,
Chris

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

2 participants