Giter Club home page Giter Club logo

Comments (4)

mathieudutour avatar mathieudutour commented on August 27, 2024

do you have any tag on your repo?

from github-tag-action.

bhojjoshi avatar bhojjoshi commented on August 27, 2024

do you have any tag on your repo?

Yes, there are almost 100 tags in the repositories, below are some of them:
1.0.0
1.0.1-bf27124
v0.0.1
v1.0.1-ci.0
v1.0.99-CLOUD11.0
v1.0.2
v1.0.3 //This is the latest from master and the next version supposed to be 1.0.4

from github-tag-action.

NasAmin avatar NasAmin commented on August 27, 2024

@mathieudutour
Here's the debug output if that helps

##[debug]Evaluating condition for step: 'Bump version and push tag'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Bump version and push tag
##[debug]Loading inputs
##[debug]Evaluating: secrets.GITHUB_TOKEN
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'GITHUB_TOKEN'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Evaluating: steps.jira_issue_finder.outputs.jira_issue
##[debug]Evaluating Index:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating steps:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'jira_issue_finder'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'outputs'
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'jira_issue'
##[debug]=> 'ci'
##[debug]Result: 'ci'
##[debug]Loading env
Run mathieudutour/[email protected]
##[debug]Found Valid Tag: v1.0.123-cloud-27.0.
##[debug]Found Valid Tag: v1.0.122-cloud-27.0.
##[debug]Found Valid Tag: v1.0.121-cloud-27.0.
##[debug]Found Valid Tag: v1.0.120-cloud-27.0.
##[debug]Found Valid Tag: v1.0.119-cloud-27.0.
##[debug]Found Valid Tag: v1.0.118-cloud-27.0.
##[debug]Found Valid Tag: v1.0.117-cloud-27.0.
##[debug]Found Valid Tag: v1.0.116-cloud-27.0.
##[debug]Found Valid Tag: v1.0.115-cloud-27.0.
##[debug]Found Valid Tag: v1.0.64-cloud-27.0.
##[debug]Found Valid Tag: v1.0.63-cloud-27.0.
##[debug]Found Valid Tag: v1.0.62-cloud-27.0.
##[debug]Found Valid Tag: v1.0.61-cloud-27.0.
##[debug]Found Valid Tag: v1.0.60-cloud-27.0.
##[debug]Found Valid Tag: v1.0.59-cloud-27.0.
##[debug]Found Valid Tag: v1.0.58-cloud-27.0.
##[debug]Found Valid Tag: v1.0.57-cloud-27.0.
##[debug]Found Valid Tag: v1.0.56-cloud-27.0.
##[debug]Found Valid Tag: v1.0.55-cloud-27.0.
##[debug]Found Valid Tag: v1.0.54-cloud-27.0.
##[debug]Found Valid Tag: v1.0.53-cloud-27.0.
##[debug]Found Valid Tag: v1.0.52-cloud-27.0.
##[debug]Found Valid Tag: v1.0.51-cloud-27.0.
##[debug]Found Valid Tag: v1.0.50-cloud-27.0.
##[debug]Found Valid Tag: v1.0.49-cloud-27.0.
##[debug]Found Valid Tag: v1.0.48-cloud-27.0.
##[debug]Found Valid Tag: v1.0.47-cloud-27.0.
##[debug]Found Valid Tag: v1.0.46-cloud-27.0.
##[debug]Found Valid Tag: v1.0.45-cloud-27.0.
##[debug]Found Valid Tag: v1.0.44-cloud-27.0.
##[debug]Found Valid Tag: v1.0.43-cloud-27.0.
##[debug]Found Valid Tag: v1.0.42-cloud-27.0.
##[debug]Found Valid Tag: v1.0.41-cloud-27.0.
##[debug]Found Valid Tag: v1.0.40-cloud-27.0.
##[debug]Found Valid Tag: v1.0.39-cloud-27.0.
##[debug]Found Valid Tag: v1.0.38-cloud-27.0.
##[debug]Found Valid Tag: v1.0.37-cloud-27.0.
##[debug]Found Valid Tag: v1.0.36-cloud-27.0.
##[debug]Found Valid Tag: v1.0.35-cloud-27.0.
##[debug]Found Valid Tag: v1.0.34-cloud-27.0.
##[debug]Found Valid Tag: v1.0.33-cloud-27.0.
##[debug]Found Valid Tag: v1.0.32-cloud-27.0.
##[debug]Found Valid Tag: v1.0.31-cloud-27.0.
##[debug]Found Valid Tag: v1.0.30-cloud-27.0.
##[debug]Found Valid Tag: v1.0.29-cloud-27.0.
##[debug]Found Valid Tag: v1.0.28-cloud-27.0.
##[debug]Found Valid Tag: v1.0.27-cloud-27.0.
##[debug]Found Valid Tag: v1.0.26-cloud-27.0.
##[debug]Found Valid Tag: v1.0.25-cloud-27.0.
##[debug]Found Valid Tag: v1.0.24-cloud-27.0.
Previous tag was 0.0.0.
::set-output name=previous_tag::0.0.0
##[debug]steps.semver.outputs.previous_tag='0.0.0'
Analysis of 0 commits complete: no release
New version is 0.0.1.
::set-output name=new_version::0.0.1
##[debug]steps.semver.outputs.new_version='0.0.1'
New tag after applying prefix is v0.0.1.
::set-output name=new_tag::v0.0.1
##[debug]steps.semver.outputs.new_tag='v0.0.1'

I notice that it is pushing a lot of pre-release tags. Is there a way to tell this action to only push tags from the master branch? I am sure we are doing something wrong here.

from github-tag-action.

bhojjoshi avatar bhojjoshi commented on August 27, 2024

@NasAmin Yes, it looks like it was an issue with the "append_to_pre_release_tag" param being set for main/master branch, as I add a condition before setting it in this action, that sets it to empty string if the branch if main/master and now it's properly tagging.

@mathieudutour It still seems to be a bug as there should not be any dependency on "append_to_pre_release_tag" param while tagging from the release branch (main/master).

from github-tag-action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.