Skip to content

Commit

Permalink
Modules update; no CGO in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pepa65 committed Jan 1, 2024
1 parent 793adaa commit a874bd2
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 13 deletions.
11 changes: 5 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ building:
stage: build
script:
- go get -u github.com/pepa65/m2m
- GOOS=linux GOARCH=amd64 go build -ldflags="-s -w"
- strip m2m
- GOOS=linux GOARCH=arm go build -ldflags="-s -w" -o m2m_pi
- GOOS=freebsd GOARCH=amd64 go build -ldflags="-s -w" -o m2m_freebsd
- GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -o m2m_osx
- GOOS=windows GOARCH=amd64 go build -ldflags="-s -w" -o m2m.exe
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w"
- CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -ldflags="-s -w" -o m2m_pi
- CGO_ENABLED=0 GOOS=freebsd GOARCH=amd64 go build -ldflags="-s -w" -o m2m_freebsd
- CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -o m2m_osx
- CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags="-s -w" -o m2m.exe
artifacts:
name: m2m
paths:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![GitHub](https://img.shields.io/github/license/pepa65/m2m.svg)](LICENSE)
# m2m - Move from POP3 to Maildir

* **v1.15.0**
* **v1.15.1**
* License: GPLv3+
* Just pull mails from POP3 servers (TLS can be disabled) and put them in local Maildirs.
* Proxies and Onion entry servers are supported.
Expand Down Expand Up @@ -41,7 +41,7 @@

## Help
```
m2m v1.15.0 - Move from POP3 to Maildir
m2m v1.15.1 - Move from POP3 to Maildir
* Downloading emails from POP3 servers and moving them into Maildir folders.
* Repo: github.com/pepa65/m2m
* Usage: m2m [ -h|--help | -q|--quiet ]
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/pepa65/m2m

go 1.20
go 1.21.5

require (
golang.org/x/net v0.18.0
golang.org/x/net v0.19.0
gopkg.in/yaml.v2 v2.4.0
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
golang.org/x/net v0.18.0 h1:mIYleuAkSbHh0tCv7RvjL3F6ZVbLjq4+R7zbOn3Kokg=
golang.org/x/net v0.18.0/go.mod h1:/czyP5RqHAH4odGYxBJ1qz0+CE5WZ+2j1YgoEo8F2jQ=
golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c=
golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"gopkg.in/yaml.v2"
)

const version = "1.15.0"
const version = "1.15.1"

type Config struct {
Username string
Expand Down

0 comments on commit a874bd2

Please sign in to comment.