hackerman
ca3a63a537
feat: use CI environment variables to figure out tag ( #1327 )
...
* fix(git): Use CI envronment variables to figure out tag
This patch detects CI environments and uses the available tag information when
collecting the git tag.
This resolves issues where one commit has multiple tags.
Closes #1163
Closes #1311
* Update www/content/release.md
Co-Authored-By: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* Update www/content/release.md
Co-Authored-By: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* Update www/content/build.md
Co-Authored-By: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* Update www/content/release.md
Co-Authored-By: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* feat(doc): Document git tag override in environment
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2020-01-31 15:38:56 -03:00
Dave Wongillies
21df6b816f
fix: use long git arg for quiet ( #1325 )
2020-01-31 00:20:36 -03:00
Carlos Alexandro Becker
449ed95bbe
Revert "fix: getTag return incorrect tag, if we have more than 1 tag for 1 commit ( #1164 )"
...
This reverts commit 2403a40979cc0b2ce252abfdb7aacd00b91b4ab8.
2019-10-21 09:09:11 -03:00
Carlos Alexandro Becker
4e71977e34
Revert "feat: git diff when dirty ( #1178 )"
...
This reverts commit 39d07c375df531aa0c55df868d26f8dcc4bf37e1.
2019-10-20 11:10:31 -03:00
Andrii Soldatenko
2403a40979
fix: getTag return incorrect tag, if we have more than 1 tag for 1 commit ( #1164 )
...
* fix strategy of getting latest tag
* add git -c "versionsort.suffix=-"
* fix test
* fix tests
* add more details about change
2019-10-07 13:58:19 -03:00
Carlos Alexandro Becker
39d07c375d
feat: git diff when dirty ( #1178 )
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-06 17:56:53 -03:00
Carlos Alexandro Becker
1a971c0d9a
test: fixed git dirty test
2019-04-14 14:41:24 -03:00
Carlos Alexandro Becker
a62314d9bb
fix: small error msg improvement
...
refs #1005
2019-04-14 14:16:53 -03:00
Carlos Alexandro Becker
adcc4524da
fix: suppress diffs on git show ( #955 )
2019-02-06 17:51:09 -02:00
Carlos Alexandro Becker
742c8d03aa
clean: removed uneeded param
2019-01-19 18:14:32 -02:00
Carlos Alexandro Becker
59f10ad083
clean: removed deprecated git.short_hash option
2019-01-19 18:14:32 -02:00
Carlos Alexandro Becker
ed2ca57bd5
clean: unused err
2019-01-19 17:33:33 -02:00
Carlos Alexandro Becker
a31abde2e9
clean: remove uneeded extra tag check
2019-01-19 17:33:33 -02:00
Carlos Alexandro Becker
07d9855890
fix: tests
2018-12-13 12:11:12 -02:00
Carlos Alexandro Becker
a69ef61d60
fix: snapshot version handling
2018-12-13 12:11:12 -02:00
Carlos Alexandro Becker
18efb4a5c2
fix: change defaults order
2018-11-25 18:25:38 -02:00
Carlos Alexandro Becker
6c349c1759
fix: linter fixes
2018-11-08 09:40:23 -02:00
Carlos Alexandro Becker
5c63f88290
test: add more tests
2018-10-04 23:23:31 -03:00
Carlos Alexandro Becker
748d97ef22
feat: git remote url in the template engine
2018-10-04 23:23:31 -03:00
Carlos Alexandro Becker
af99acf244
feat: add new template fields
2018-10-04 09:23:06 -03:00
Carlos Alexandro Becker
39de856eb4
refactor: better package organization
2018-09-12 14:18:01 -03:00