pulumi/pkg/util
Matt Ellis 2b3c7f61c5 Rework get-version scripts
Under our old versioning system, when we started a new point release,
we'd tag the HEAD commit of master with a tag like `v0.16.6-dev` and
our scripts would use this to generate a new version number. This
required a great deal of gymnastics when producing a release and
caused us to litter these -dev tags everywhere.

To improve this, we change version number generation to the following
strategy:

1. If the commit we are building has a tag applied to it, use that tag
as the version (appending the dirty bit metadata to the version, if
needed).

2. If the commit we are bulding does not have a tag applied to it,
take the version from the next reachable tag, increment the patch
version and then append the `-dev` pre-release tag. As part of this,
we also make a slight tweek to our semver generation such that instead
of `-dev<TIMESTAMP>` we use `-dev.<TIMESTAMP>` which is more in line
with what semver recommends.
2018-11-16 20:11:04 -08:00
..
buildutil Rework get-version scripts 2018-11-16 20:11:04 -08:00
cancel Add license headers 2018-05-22 15:02:47 -07:00
ciutil Add CircleCI support (#2143) 2018-11-01 11:20:31 -07:00
cmdutil Explicit disable interactive mode if the TERM variable is set to 'dumb' (#2131) 2018-10-30 17:48:55 -07:00
contract Add license headers 2018-05-22 15:02:47 -07:00
fsutil Add license headers 2018-05-22 15:02:47 -07:00
gitutil Add gitlab metadata - Part 1 (#2090) 2018-10-23 14:53:52 -07:00
httputil Fix `httputil.DoWithRetry`. (#1555) 2018-06-21 11:06:54 -07:00
logging Fix wierd interactions due to Cobra and glog 2018-08-20 14:08:40 -07:00
mapper Add license headers 2018-05-22 15:02:47 -07:00
result Clarify control flow in step generator (#1843) 2018-09-05 15:08:09 -07:00
retry Merge pull request #1358 from pulumi/retry-bugs 2018-06-01 17:11:23 -07:00
rpcutil Spread array argument to variadic function 2018-10-29 18:09:00 -05:00
testutil Add GitLab CI support (#2013) 2018-10-02 16:08:03 -07:00