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

Updating spec files for commit-based releases #59

Open
dvershinin opened this issue Aug 17, 2021 · 0 comments
Open

Updating spec files for commit-based releases #59

dvershinin opened this issue Aug 17, 2021 · 0 comments

Comments

@dvershinin
Copy link
Owner

dvershinin commented Aug 17, 2021

When invoked against spec file, check existence of "commit" global. If such exists then fetch latest commit and update it in the spec file. Also update or add commit_date global. Update release field to:

  • if no release or tag exists at all, set release to 0.snapinfo
  • if there is any release, we are assuming that the latest commit represents a post-release, so 1.snapinfo
Snapinfo = git<commit date><short commit>

Example: https://github.com/gnachman/iTerm2-shell-integration

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

No branches or pull requests

1 participant