Comments (4)
Another tag name that worked for me is tag_name: ${{ github.run_number }}
, which I found friendlier than the sha:
run_number: string
A unique number for each run of a particular workflow in a repository. This number begins at 1 for the workflow's first run, and increments with each new run. This number does not change if you re-run the workflow run.
from create-release.
Came here just for this, I messed up my master branch in my repository because I was trying to test the example.
At least some comments stating why you shouldn't do it with a non-tagged branch could have helped me avoid this situation.
from create-release.
There was probably an implicit assumption by whoever wrote the README that people would be using this conditionally with version tags so I think there were assuming the step/job would have if: startsWith(github.ref, 'refs/tags/v')
which is probably what anyone using some release action like this should have.
from create-release.
@ash0x0 for best practice use I would agree but in some simple projects (such as the one that prompted me to make this issue) it can be useful to just build any commit and create an artifact for it.
from create-release.
Related Issues (20)
- Change author HOT 1
- adding binary files to a release HOT 2
- "Resource not accessible by integration" HOT 6
- How to choose a specific branch to release? HOT 1
- Published or Released event is not created after release creation HOT 2
- Can I create a release to a public repo from a private repo
- @keroxp thanks!
- "Push:tag:v*" functionality, doesn't seem to work HOT 4
- Change release type from prerelase/draft to release? HOT 2
- Tag created on wrong commit HOT 2
- Auto-generate release body text from merged PRs or commit messages
- body and body_path do not preserve markdown formatting HOT 1
- [Question] Problem with create tag HOT 2
- Permissions required by action
- Populating release body text from annotated tag bodies HOT 2
- Mark this repository as unmaintained HOT 2
- how to not include .github/workflow into the release HOT 2
- Wont trigger release event
- tag_name not exposed in outputs
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 create-release.