ylliX - Online Advertising Network

Get a Version Name for a Commit

In some of the projects I work on, we publish an artifact for every build on the main branch. We don’t want to give these nice semver names like 1.5.0 because that’s too much work! Instead we just wanna generate a version name based on the most-recent commit that it includes. Here’s a Bash one-liner: […]