1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-05 13:15:26 +02:00

organized imports

This commit is contained in:
Carlos Alexandro Becker 2016-12-29 18:10:11 -02:00
parent b96da03622
commit 207ce2aee7
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
4 changed files with 9 additions and 8 deletions

View File

@ -1,13 +1,14 @@
package compress
import (
"github.com/goreleaser/releaser/config"
"os"
"github.com/goreleaser/releaser/uname"
"compress/gzip"
"archive/tar"
"io"
"compress/gzip"
"fmt"
"io"
"os"
"github.com/goreleaser/releaser/config"
"github.com/goreleaser/releaser/uname"
)
func ArchiveAll(version string, config config.ProjectConfig) error {

View File

@ -1,9 +1,9 @@
package git
import (
"errors"
"os/exec"
"strings"
"errors"
)
func CurrentTag() (tag string, err error) {

View File

@ -12,7 +12,7 @@ import (
"github.com/goreleaser/releaser/release"
)
var version = "none"
var version = "master"
func main() {
config, err := config.Load("goreleaser.yml")

View File

@ -4,13 +4,13 @@ import (
"context"
"fmt"
"os"
"os/exec"
"strings"
"github.com/google/go-github/github"
"github.com/goreleaser/releaser/config"
"github.com/goreleaser/releaser/uname"
"golang.org/x/oauth2"
"os/exec"
"golang.org/x/sync/errgroup"
)