1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-27 01:33:39 +02:00

docs: prettier changed lists from * to -

Thanks obama
This commit is contained in:
Carlos Alexandro Becker 2018-05-28 10:49:38 -03:00
parent eb2ff88747
commit 532bf4e0a3
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
12 changed files with 53 additions and 53 deletions

View File

@ -1,6 +1,6 @@
---
---
name: Bug report
about: Create a report to help us improve
about: Create a report to help us improve
---
**Describe the bug**
@ -21,9 +21,9 @@ A clear and concise description of what you expected to happen.
**Environment (please complete the following information):**
* OS: [e.g. mac, linux]
* OS version: [uname -a]
* GoReleaser Version [goreleaser --version]
- OS: [e.g. mac, linux]
- OS version: [uname -a]
- GoReleaser Version [goreleaser --version]
**Additional context**
Add any other context about the problem here.

View File

@ -1,6 +1,6 @@
---
---
name: Feature request
about: Suggest an idea for this project
about: Suggest an idea for this project
---
**Is your feature request related to a problem? Please describe.**

View File

@ -14,21 +14,21 @@ orientation.
Examples of behavior that contributes to creating a positive environment
include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or
- The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
- Other conduct which could reasonably be considered inappropriate in a
professional setting
## Our Responsibilities

View File

@ -9,11 +9,11 @@ conduct](/CODE_OF_CONDUCT.md).
Prerequisites:
* `make`
* [Go 1.10+](https://golang.org/doc/install)
* `rpmbuild` (`apt get install rpm`/`brew install rpm`)
* [snapcraft](https://snapcraft.io/)
* [Docker](https://www.docker.com/)
- `make`
- [Go 1.10+](https://golang.org/doc/install)
- `rpmbuild` (`apt get install rpm`/`brew install rpm`)
- [snapcraft](https://snapcraft.io/)
- [Docker](https://www.docker.com/)
Clone `goreleaser` from source into `$GOPATH`:

View File

@ -101,14 +101,14 @@ func TestStringArray(t *testing.T) {
}
// func TestStringArrayFailure(t *testing.T) {
// var source = `
// var source = `
// strings:
// key: val
// key: val
// `
// var actual Unmarshaled
// err := yaml.UnmarshalStrict([]byte(source), &actual)
// // assert.EqualError(t, err, )
// var actual Unmarshaled
// err := yaml.UnmarshalStrict([]byte(source), &actual)
// // assert.EqualError(t, err, )
// }
func TestFlagArray(t *testing.T) {

View File

@ -28,11 +28,11 @@ func TestDefaultsNoS3(t *testing.T) {
var assert = assert.New(t)
var ctx = context.New(config.Project{
S3: []config.S3{
config.S3{},
{},
},
})
assert.NoError(Pipe{}.Default(ctx))
assert.Equal([]config.S3{config.S3{}}, ctx.Config.S3)
assert.Equal([]config.S3{{}}, ctx.Config.S3)
}
func TestDefaults(t *testing.T) {
@ -45,7 +45,7 @@ func TestDefaults(t *testing.T) {
},
})
assert.NoError(Pipe{}.Default(ctx))
assert.Equal([]config.S3{config.S3{
assert.Equal([]config.S3{{
Bucket: "foo",
Region: "us-east-1",
Folder: "{{ .ProjectName }}/{{ .Tag }}",

View File

@ -27,8 +27,8 @@ artifactories:
Prerequisites:
* A running Artifactory instances
* A user + password / API key with grants to upload an artifact
- A running Artifactory instances
- A user + password / API key with grants to upload an artifact
### Target
@ -45,12 +45,12 @@ and will result in a final deployment like `http://artifacts.company.com:8081/ar
Supported variables:
* Version
* Tag
* ProjectName
* Os
* Arch
* Arm
- Version
- Tag
- ProjectName
- Os
- Arch
- Arm
_Attention_: Variables _Os_, _Arch_ and _Arm_ are only supported in upload
mode `binary`.

View File

@ -117,10 +117,10 @@ dockers:
This will build and publish the following images:
* myuser/myimage:v1.6.4
* myuser/myimage:v1
* myuser/myimage:v1.6
* myuser/myimage:latest
- myuser/myimage:v1.6.4
- myuser/myimage:v1
- myuser/myimage:v1.6
- myuser/myimage:latest
With these settings you can hopefully push several different docker images
with multiple tags.

View File

@ -58,10 +58,10 @@ dist: another-folder-that-is-not-dist
Default wise GoReleaser sets three _ldflags_:
* `main.version`: Current Git tag (the `v` prefix is stripped) or the name of
- `main.version`: Current Git tag (the `v` prefix is stripped) or the name of
the snapshot, if you're using the `--snapshot` flag
* `main.commit`: Current git commit SHA
* `main.date`: Date according [RFC3339](https://golang.org/pkg/time/#pkg-constants)
- `main.commit`: Current git commit SHA
- `main.date`: Date according [RFC3339](https://golang.org/pkg/time/#pkg-constants)
You can use it in your `main.go` file:

View File

@ -4,11 +4,11 @@ menu: true
weight: 999
---
* Follow the progress on the [GitHub repository](https://github.com/goreleaser/goreleaser)
* Follow [@goreleaser](https://twitter.com/goreleaser) on Twitter for updates
* Chat on [Slack](https://gophers.slack.com/messages/goreleaser/) to chat about GoReleaser,
- Follow the progress on the [GitHub repository](https://github.com/goreleaser/goreleaser)
- Follow [@goreleaser](https://twitter.com/goreleaser) on Twitter for updates
- Chat on [Slack](https://gophers.slack.com/messages/goreleaser/) to chat about GoReleaser,
questions, etc. Join using [this link](https://invite.slack.golangbridge.org/)
* [Contributing Guidelines](https://github.com/goreleaser/goreleaser/blob/master/CONTRIBUTING.md)
- [Contributing Guidelines](https://github.com/goreleaser/goreleaser/blob/master/CONTRIBUTING.md)
This project adheres to the Contributor Covenant
[code of conduct](https://github.com/goreleaser/goreleaser/blob/master/CODE_OF_CONDUCT.md).

View File

@ -72,9 +72,9 @@ This configuration will generate `tar` archives, each containing an additional
file called `drum-roll.licence.txt`.
The archives will be located in the `dist` folder:
* `./dist/drum-roll_windows_64-bit.tar.gz`
* `./dist/drum-roll_macOS_64-bit.tar.gz`
* `./dist/drum-roll_Tux_64-bit.tar.gz`
- `./dist/drum-roll_windows_64-bit.tar.gz`
- `./dist/drum-roll_macOS_64-bit.tar.gz`
- `./dist/drum-roll_Tux_64-bit.tar.gz`
Next, you need to export a `GITHUB_TOKEN` environment variable, which should contain a
GitHub token with the `repo` scope selected.

View File

@ -85,4 +85,4 @@ $ goreleaser --release-notes <(some_changelog_generator)
Some changelog generators you can use:
* [buchanae/github-release-notes](https://github.com/buchanae/github-release-notes)
- [buchanae/github-release-notes](https://github.com/buchanae/github-release-notes)