mirror of
https://github.com/harness-community/drone-nexus-publish.git
synced 2026-06-14 05:12:33 +08:00
nexus plugin changes
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
# force go modules
|
||||
export GOPATH=""
|
||||
|
||||
# disable cgo
|
||||
export CGO_ENABLED=0
|
||||
|
||||
set -e
|
||||
set -x
|
||||
|
||||
# linux
|
||||
GOOS=linux GOARCH=amd64 go build -o release/linux/amd64/drone-nexus-publish
|
||||
#GOOS=linux GOARCH=arm64 go build -o release/linux/arm64/drone-nexus-publish
|
||||
#GOOS=linux GOARCH=arm go build -o release/linux/arm/drone-nexus-publish
|
||||
|
||||
# windows
|
||||
#GOOS=windows go build -o release/windows/amd64/drone-nexus-publish.exe
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
curl https://raw.githubusercontent.com/drone/boilr-plugin/master/template/plugin/pipeline.go --output plugin/pipeline.go
|
||||
Reference in New Issue
Block a user