-
Notifications
You must be signed in to change notification settings - Fork 306
Tags point at wrong commit #31
Comments
After looking into the code, I realized that the issue is that this action calls octokit.repos.createRelease() without a |
I'm seeing this issue too. I'm testing create release on a branch initially. In practice I'll probably always create releases from the default master branch, but it's odd that it doesn't adhere to the branch where the build is running. |
I too am seeing this issue. It would be great to enforce create a (pre-)release base on specific commit it was built from. We have 16 pre-release builds, only 3 of them has been tagged to wrong release's commit. |
I am seeing this issue too where the release is targeting the latest commit on the master branch not the latest commit on the dev-branch |
Thanks all, this is merged. See: #32 (comment) |
My use-case is that I need to create release assets for every commit, across all branches, so this action seems ideal. However, when using it on branches, I've noticed that every tag ends up pointing at master HEAD, even though I've verified in an earlier step that the commit checked out by
actions/checkout@v1
is in fact pointing at a commit on my branch.Additionally, I'm trying to set the body to
github.event.commits[0].message
, and according to the output from the job, it is set to the correct commit message, but when I look at the list of releases in my repo, it has somehow been set to the commit message of master HEAD instead.My pipeline looks like this:
Where
fleskesvor/actions-test/actions/create-artifact-version@master
is just a crude, custom made action to set a version/tag on a specific format.The text was updated successfully, but these errors were encountered: