Skip to content
This repository has been archived by the owner on Oct 27, 2023. It is now read-only.

Commit

Permalink
fix windows path bug (#27)
Browse files Browse the repository at this point in the history
* fix: fixed problem with windows tmp path

* fix: correct version in error message
  • Loading branch information
belitre committed Mar 11, 2020
1 parent 2af2f20 commit 6012f4a
Show file tree
Hide file tree
Showing 6 changed files with 143 additions and 45 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ A Helm plugin to push helm charts to artifactory:

## Install

__IMPORTANT: by default `helm plugin install` will install the version from the master branch, and that version is for Helm v2, if you are using Helm v3 please add `--version 1.0.1` (or the version you want to use) to your `helm plugin install` command. Also please always use the flag `--version` in your CI/CD system to avoid surprises when new changes are merged to master!__

Based on the version in `plugin.yaml`, release binary will be downloaded from GitHub:

```
$ helm plugin install https://github.com/belitre/helm-push-artifactory-plugin
Downloading and installing helm-push-artifactory v0.4.0 ...
https://github.com/belitre/helm-push-artifactory-plugin/releases/download/v0.4.0/helm-push-artifactory_v0.4.0_darwin_amd64.tar.gz
Downloading and installing helm-push-artifactory v0.4.1 ...
https://github.com/belitre/helm-push-artifactory-plugin/releases/download/v0.4.1/helm-push-artifactory_v0.4.1_darwin_amd64.tar.gz
Installed plugin: push-artifactory
```

Expand Down
16 changes: 7 additions & 9 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
module github.com/belitre/helm-push-artifactory-plugin

go 1.13
go 1.14

require (
github.com/Masterminds/semver v1.5.0 // indirect
github.com/chartmuseum/helm-push v0.7.1
github.com/cyphar/filepath-securejoin v0.2.2 // indirect
github.com/ghodss/yaml v1.0.0 // indirect
github.com/gobwas/glob v0.2.3 // indirect
github.com/golang/protobuf v1.3.2 // indirect
github.com/jfrog/jfrog-client-go v0.5.2
github.com/spf13/cobra v0.0.5
github.com/stretchr/testify v1.4.0
gopkg.in/yaml.v2 v2.2.2
k8s.io/apimachinery v0.0.0-20190925235427-62598f38f24e // indirect
github.com/jfrog/jfrog-client-go v0.8.1
github.com/spf13/cobra v0.0.6
github.com/stretchr/testify v1.5.1
gopkg.in/yaml.v2 v2.2.8
k8s.io/apimachinery v0.17.3 // indirect
k8s.io/client-go v11.0.0+incompatible // indirect
k8s.io/helm v2.14.3+incompatible
k8s.io/helm v2.16.3+incompatible
)

0 comments on commit 6012f4a

Please sign in to comment.