mirror of
https://github.com/goreleaser/goreleaser.git
synced 2026-06-19 23:24:39 +02:00
organized imports
This commit is contained in:
4 files changed
+9
-8
No files matched your search
+6
-5
@@ -1,13 +1,14 @@
|
|||||||
package compress
|
package compress
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/goreleaser/releaser/config"
|
|
||||||
"os"
|
|
||||||
"github.com/goreleaser/releaser/uname"
|
|
||||||
"compress/gzip"
|
|
||||||
"archive/tar"
|
"archive/tar"
|
||||||
"io"
|
"compress/gzip"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"io"
|
||||||
|
"os"
|
||||||
|
|
||||||
|
"github.com/goreleaser/releaser/config"
|
||||||
|
"github.com/goreleaser/releaser/uname"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ArchiveAll(version string, config config.ProjectConfig) error {
|
func ArchiveAll(version string, config config.ProjectConfig) error {
|
||||||
|
|||||||
+1
-1
@@ -1,9 +1,9 @@
|
|||||||
package git
|
package git
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"errors"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"strings"
|
"strings"
|
||||||
"errors"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func CurrentTag() (tag string, err error) {
|
func CurrentTag() (tag string, err error) {
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import (
|
|||||||
"github.com/goreleaser/releaser/release"
|
"github.com/goreleaser/releaser/release"
|
||||||
)
|
)
|
||||||
|
|
||||||
var version = "none"
|
var version = "master"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
config, err := config.Load("goreleaser.yml")
|
config, err := config.Load("goreleaser.yml")
|
||||||
|
|||||||
+1
-1
@@ -4,13 +4,13 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
"os/exec"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/google/go-github/github"
|
"github.com/google/go-github/github"
|
||||||
"github.com/goreleaser/releaser/config"
|
"github.com/goreleaser/releaser/config"
|
||||||
"github.com/goreleaser/releaser/uname"
|
"github.com/goreleaser/releaser/uname"
|
||||||
"golang.org/x/oauth2"
|
"golang.org/x/oauth2"
|
||||||
"os/exec"
|
|
||||||
"golang.org/x/sync/errgroup"
|
"golang.org/x/sync/errgroup"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user