Comments (4)
do you have any tag on your repo?
from github-tag-action.
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.
@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.
@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)
- Possibility to customise issueUrlFormat
- how to force push an existed tag ?
- [feature] Rolling release versions
- Set Major. Minor, or Patch Release HOT 2
- Bug: Unable to retrieve commits history when using Squash and Merge on Pull requests
- Help to add suffix non-release tags only
- Add the merged PR #158 to the latest release. HOT 1
- Major bump create bump patch instead HOT 2
- Feature: Support for independent releases in monorepo HOT 5
- PAT setup for github-tag-action HOT 1
- Update action to use Node 20 or newer HOT 4
- Use target-version in a file, then create the tag of both
- Custom tag not being picked up HOT 3
- Use conventionalcommits preset with @semantic-release/commit-analyzer
- SDECE
- contributor-covenant.org/version/2/1/code_of_conduct/code_of_conduct.md
- It produced tons of tags "v0.0.1-refs-tags-v0-0-1-refs-tags-v0-0-1-refs-tags-v0-0-1-refs-tags-v0-0-1-refs-tags-v0-0-1-refs-tags-v0-0-1-refs-tags-v0-0-1-refs-tags-v0-0-1-refs-tags-v0-0-1-refs-tags-v0-0-1-refs-tags-v0-0-1-fix-apicalls2-0-0-0-0-0-0-0-0-0-0-0.0"
- Field `pre_release_branches` isn't applying the tag as pre-release HOT 1
- Still creating new releases when no commits present
- Default value for release_branches unexpectedly matches substring
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-tag-action.