misc fixes
This commit is contained in:
parent
24a304655c
commit
8e6067e52f
|
@ -99,6 +99,7 @@ if [ -n "${CI_COMMIT_TAG}" ] ; then
|
|||
tags="${CI_COMMIT_TAG#v}"
|
||||
fi
|
||||
if [ "${CI_COMMIT_BRANCH}" = "${CI_REPO_DEFAULT_BRANCH}" ] ; then
|
||||
## TODO: think about "latest" tag: it should be error-prone for "backward tag push"
|
||||
tags="${tags} ${VERSION} latest"
|
||||
echo "RELMODE=1" >> .build_env
|
||||
fi
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/plugin-sonatype-nexus
|
||||
/plugin-sonatype-nexus*
|
||||
/.auth.json
|
||||
/.build_env
|
||||
/dist/
|
||||
|
|
|
@ -96,7 +96,8 @@ func (p *Plugin) parseSettings() error {
|
|||
var ur UploadRule
|
||||
|
||||
ur.Repository = p.Settings.Repository
|
||||
ur.Paths = p.Settings.Paths.Value()
|
||||
ur.Paths = make([]string, len(p.Settings.Paths.Value()))
|
||||
copy(ur.Paths, p.Settings.Paths.Value())
|
||||
|
||||
if ur.Repository == "" {
|
||||
return reportEmptySetting("nexus.repository")
|
||||
|
|
Loading…
Reference in New Issue