diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 60a655d..94bd254 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,8 +13,8 @@ stages: - export GOPATH="$CI_PROJECT_DIR/.cache" - export GOCACHE="$CI_PROJECT_DIR/.cache/build" - export GO_LDFLAGS="-linkmode external -extldflags -static -X main.Tag=$CI_COMMIT_TAG -X main.Commit=$CI_COMMIT_SHA -X 'main.BuildTime=`date '+%b %_d %Y, %H:%M:%S'`'" - - git clone https://github.com/karmanyaahm/groupme.git ../groupme - - git clone https://github.com/karmanyaahm/mautrix-go.git ../mautrix + - git clone https://github.com/karmanyaahm/groupme.git ./groupme + - git clone https://github.com/karmanyaahm/mautrix-go.git ./mautrix script: - go build -ldflags "$GO_LDFLAGS" -o mautrix-whatsapp artifacts: diff --git a/go.mod b/go.mod index cd91a1e..c618c74 100644 --- a/go.mod +++ b/go.mod @@ -29,6 +29,6 @@ require ( maunium.net/go/mautrix v0.8.2 ) -replace maunium.net/go/mautrix => ../mautrix +replace maunium.net/go/mautrix => ./mautrix -replace github.com/karmanyaahm/groupme => ../groupme +replace github.com/karmanyaahm/groupme => ./groupme