mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
updates based on review
This commit is contained in:
parent
d501b6ca72
commit
92847c1c5c
@ -56,9 +56,11 @@ nfpm:
|
||||
|
||||
# Packages your package depends on.
|
||||
dependencies:
|
||||
- ansible
|
||||
- git
|
||||
|
||||
suggests:
|
||||
- ansible
|
||||
|
||||
# install binary in /usr/bin
|
||||
bindir: /usr/bin
|
||||
|
||||
|
@ -10,7 +10,7 @@ When creating a pull-request you should:
|
||||
# Installation in a development environment
|
||||
|
||||
- Check out the `develop` branch
|
||||
- [Install Go](https://golang.org/doc/install)
|
||||
- [Install Go](https://golang.org/doc/install). Go must be >= v1.10 for all the tools we use to work
|
||||
- Install MySQL / MariaDB
|
||||
- Install node.js
|
||||
|
||||
|
@ -44,7 +44,7 @@ tasks:
|
||||
- go get -u github.com/gobuffalo/packr/...
|
||||
- go get -u github.com/haya14busa/goverage
|
||||
# needs go 1.10+
|
||||
- go get github.com/goreleaser/goreleaser
|
||||
- go get github.com/goreleaser/goreleaser/...
|
||||
|
||||
|
||||
compile:
|
||||
@ -114,7 +114,7 @@ tasks:
|
||||
build:
|
||||
desc: Build a full set of release binaries and packages
|
||||
cmds:
|
||||
- task: release:test
|
||||
- task: release
|
||||
|
||||
build:local:
|
||||
desc: Build a binary for the current architecture
|
||||
@ -122,13 +122,12 @@ tasks:
|
||||
cmds:
|
||||
- go build -o ../bin/semaphore
|
||||
|
||||
release:test:
|
||||
release:
|
||||
desc: creates a release without performing validations or publishing artifacts
|
||||
cmds:
|
||||
- goreleaser --snapshot --rm-dist
|
||||
|
||||
release:
|
||||
desc: Build a full set of release binaries
|
||||
release:prod:
|
||||
cmds:
|
||||
- goreleaser
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user