1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
Commit Graph

71 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
3db9913e1c
feat: --skip-validate is back (#600) 2018-03-08 08:42:33 -03:00
Dominik Nakamura
cc6dd458af feat: Configuration to use short git hashes (#581)
Add a git configuration to control to either use long commit hashes
(current default) or use the short version with only the first 7
characters of the hash.

See #578
2018-03-02 09:20:27 -03:00
Carlos Alexandro Becker
ac7800699f
fix: running goreleaser against repo with no commits (#580)
* fix: running goreleaser against repo with no commits

* test: added more asserts
2018-03-01 20:42:47 -03:00
Carlos Alexandro Becker
2ea883e0c4
* feat: allow snapshots on a folder that is not a git repo (#579)
* feat: allow running against a folder that is not a git repo

* test: cover clean err

* test: release: increase coverage

* test: fix race condition
2018-02-25 20:17:45 -03:00
Carlos Alexandro Becker
fdc032ec15
refactor: unifying snapshot with skip-validate and skip-publish (#575)
* refactor: removed goreleaserlib: moved all to main

* refactor: wip: snapshot

* fix: more pipes

* fix: more pipes

* fix: git tests

* fix: some other validate and publish usages

* fix: git dirty check when snapshoting

* fix: nfpm: use tag instead of version

* test: docker: print docker run output if registry fails
2018-02-24 17:59:08 -03:00
Carlos Alexandro Becker
10c6df73c0
chore: more cleanup 2017-12-18 09:00:19 -02:00
Carlos Alexandro Becker
44d01ceccb fix: removed uneeded docs
We use fmt.Stringer now
2017-12-03 13:00:01 -02:00
Carlos Alexandro Becker
65a8e96779 fix: broken test
Was using a constant that no longer exists
2017-12-03 13:00:01 -02:00
Carlos Alexandro Becker
1ed299a6d7 refactor: defaulter interface
Right now the code looks weird because the defaults
of a pipe are far away of the implementation of the pipe.

the intend of this PR is to bring them closer by having a
Defaulter interface.

I also renamed the Pipe interface to Piper, and removed
the Description method in favor for fmt.Stringer.
2017-12-03 13:00:01 -02:00
Carlos Alexandro Becker
87d269dc45 refactor: turned changelog generation into a pipe
I turned myself into a pipe morty!

PipeRick!!!

refs #284
2017-10-18 09:19:36 -02:00
Carlos Alexandro Becker
529af6fe72 refactor: improved git error handling
Improved the error handling in git code,
mostly in the defaults pipe. The idea is to
output better error messages, hopefully avoiding
confusion on "whats wrong".

refs #356
2017-10-15 19:18:04 -02:00
Carlos Alexandro Becker
d85a9001ec
removing all assert.New because vet shadow complains about this now
aaaaaaaaaaarhhhhhhhhgttt
2017-09-26 19:24:49 -03:00
Carlos Alexandro Becker
be4f43af65
added templates
closes #274
2017-09-02 22:51:03 -03:00
Carlos Alexandro Becker
ce7a2227a0
fixed tests 2017-08-20 16:50:34 -03:00
Carlos Alexandro Becker
e8da61278f
skipped as an error type 2017-08-20 16:35:52 -03:00
Carlos Alexandro Becker
d7efa64075
removed duplicated code 2017-08-19 12:47:04 -03:00
Carlos Alexandro Becker
f643b33bda
git on testlib 2017-07-23 16:42:17 -03:00
Carlos Alexandro Becker
57753af876
testlib 2017-07-23 16:27:46 -03:00
Carlos Alexandro Becker
952d36cbfe
moved errors to another file 2017-07-18 00:21:12 -03:00
Carlos Alexandro Becker
773e5379fb
more asserts 2017-07-13 22:23:31 -03:00
Carlos Alexandro Becker
a5a809e9b5
ensuring #300 doesnt happen 2017-07-13 22:22:44 -03:00
Jorin Vogel
1b8424b1db
Update contributing guide and fix local tests.
- fpm is required to pass tests.
- apex/log package needs to be available.
- gpgSign git option needs to be disabled for test repo.
  This is an issue when a developer has set gpgSign to true in
  their global .gitconfig file.
2017-07-10 13:50:05 +02:00
jorin
100c931849 Use git status --porcelain
to ensure output is always readable no matter what configuration a user has set (cc #268)
2017-06-30 00:06:14 +02:00
Carlos Alexandro Becker
bd70d5ef42
improved some logs 2017-06-22 10:47:34 -03:00
Carlos Alexandro Becker
1e9e82d926
apex log 2017-06-22 00:09:14 -03:00
Carlos Alexandro Becker
d7f0147edf
improved git pipe code 2017-05-01 10:57:37 -03:00
Carlos Alexandro Becker
a5fe2e48c3
cyclo complexity on git pipe 2017-05-01 10:39:57 -03:00
Horst Gutmann
6d1d9dcd8e Add snapshot builds 2017-05-01 14:17:31 +02:00
Carlos Alexandro Becker
a9f855ee54
removed debug logs 2017-04-23 16:45:13 -03:00
Carlos Alexandro Becker
3ceea0572c
cleaner code 2017-04-23 16:42:34 -03:00
Carlos Alexandro Becker
0382ef24f3
fixed first release log 2017-04-23 16:33:44 -03:00
Carlos Alexandro Becker
881bba915b
added more tests to the git pipe 2017-04-22 10:46:58 -03:00
Carlos Alexandro Becker
a0ea5286ac
typo 2017-04-21 11:50:58 -03:00
Carlos Alexandro Becker
4aa47c5866
logging the reasons why a pipe is being skipped 2017-04-21 11:48:00 -03:00
Carlos Alexandro Becker
33b0725654
added more tests 2017-04-19 17:31:09 -03:00
Carlos Alexandro Becker
69767ec798
improvements 2017-04-19 17:05:10 -03:00
Carlos Alexandro Becker
86e39b6324
added support for custom release notes 2017-04-19 16:59:26 -03:00
Carlos Alexandro Becker
e10e1aa141
skip release and skip validations as separated flags 2017-04-18 13:10:23 -03:00
Carlos Alexandro Becker
9e13685040
improved git pipe 2017-04-15 17:04:26 -03:00
Carlos Alexandro Becker
086ad5691c
godocs 2017-04-15 16:12:32 -03:00
Carlos Alexandro Becker
0c94ae518a
moved source pipe into git pipe 2017-04-15 16:11:47 -03:00
Carlos Alexandro Becker
c0a310b526
fake git data 2017-04-15 14:38:54 -03:00
Carlos Alexandro Becker
1af318400b
more asserts and logs 2017-04-15 14:31:55 -03:00
Carlos Alexandro Becker
4c8c51cec4
fixed typo and added more logs 2017-04-15 14:18:17 -03:00
Carlos Alexandro Becker
9904be55a9
more asserts 2017-04-15 14:03:50 -03:00
Carlos Alexandro Becker
e48434e8e0
Revert "logs for travis debugging"
This reverts commit c15e8c8108.
2017-04-15 14:00:58 -03:00
Carlos Alexandro Becker
bf9f0e0b14
Revert "avoid cd-ing in tests"
This reverts commit 36efad3f78.
2017-04-15 14:00:49 -03:00
Carlos Alexandro Becker
e39dfa1ce9
Revert "trying with test fixtures"
This reverts commit 0b7936eb0d.
2017-04-15 14:00:29 -03:00
Carlos Alexandro Becker
0b7936eb0d
trying with test fixtures 2017-04-15 13:58:18 -03:00
Carlos Alexandro Becker
36efad3f78
avoid cd-ing in tests 2017-04-15 13:36:48 -03:00