Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

build / release fixes #66

Merged
merged 2 commits into from May 29, 2019
Merged

build / release fixes #66

merged 2 commits into from May 29, 2019

Conversation

krancour
Copy link
Contributor

This is a small follow-up to #59

  1. Minor formatting / style fixes on brigade.js-- add missing semicolons and remove unused variables, for instance, and quote string literal keys in maps for clarity.

  2. Improve how git short shas are calculated during the build / release process. After working on changes similar to those in evolve the build and release process #59 on the main brigade project, I noticed something odd about the process that we were using here-- it builds off the last annotated tag (if there is one). i.e. You get <last annotated tag>-<number of commits beyond that tag>-<git sha> and that was not what I ever intended. The new logic will never match any tag and will always fall back on using just the short sha of HEAD.

Signed-off-by: Kent Rancourt <kent.rancourt@microsoft.com>
Signed-off-by: Kent Rancourt <kent.rancourt@microsoft.com>
@krancour krancour merged commit 7908a54 into brigadecore:master May 29, 2019
@krancour krancour deleted the build-release-fixes branch May 29, 2019 21:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants