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

Cleanup redundant workflow step, fix release body and timestamp #206

Merged
merged 2 commits into from
Jul 3, 2023

Conversation

ekangmonyet
Copy link
Contributor

@ekangmonyet ekangmonyet commented Jul 3, 2023

This PR removes a redundant step from existing workflow and addresses a minor issue when publishing a "nightly" release using the current workflow.

Since softprops/action-gh-release#134 is upstreamed, #29 is no longer needed and is reverted as the assets file can be replaced correctly. Note that the current behavior of the action will remove all existing assets and replace it with only the files listed.

Currently, the release body and timestamp is not updated due to the update-or-create logic, and it is not possible to update the timestamp of a release using any existing Github API without recreating the release (related issue: softprops/action-gh-release#171). The release body is not updated as the tag already exists thus the current commit will not be re-tagged. Removing both the existing release and tag triggers the creation path which update the body, timestamp and also re-point latest tag to the current commit.

The Delete old release step may be removed if softprops/action-gh-release#181 is merged in the future.

This ensures the latest commit message and timestamp can be correctly
included in the release.
@jserv jserv merged commit f1e60b0 into sysprog21:master Jul 3, 2023
@jserv
Copy link
Contributor

jserv commented Jul 3, 2023

Thank @ekangmonyet for contributing!

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

Successfully merging this pull request may close these issues.

2 participants