Skip to content

Commit

Permalink
Merge pull request #26 from openziti/tidy-and-allow-gh-prerelease
Browse files Browse the repository at this point in the history
Remove artifactory publishing. Update deps. Allow publishing pre-releases to GH.
  • Loading branch information
plorenz authored Apr 18, 2024
2 parents f8acf89 + 8604ec4 commit afcc0c9
Show file tree
Hide file tree
Showing 11 changed files with 83 additions and 712 deletions.
26 changes: 26 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: 2
updates:
- package-ecosystem: gomod
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
groups:
third-party:
applies-to: version-updates
update-types:
- "minor"
- "patch"

- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 10
groups:
all:
applies-to: version-updates
update-types:
- "major"
- "minor"
- "patch"
8 changes: 0 additions & 8 deletions cmd/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,14 +407,6 @@ func (cmd *BaseCommand) tarGzSimple(archiveFile string, filesToInclude ...string
cmd.tarGz(archiveFile, nameMap)
}

func (cmd *BaseCommand) tarGzArtifacts(archiveFile string, artifacts ...*artifact) {
nameMap := map[string]string{}
for _, artifact := range artifacts {
nameMap[artifact.sourcePath] = fmt.Sprintf("%v/%v/%v", artifact.arch, artifact.os, artifact.sourceName)
}
cmd.tarGz(archiveFile, nameMap)
}

func (cmd *BaseCommand) tarGzGhArtifacts(projectName, archiveFile string, artifacts ...*githubArtifact) {
nameMap := map[string]string{}
for _, artifact := range artifacts {
Expand Down
261 changes: 0 additions & 261 deletions cmd/publish/artifactory/artifactory_client.go

This file was deleted.

45 changes: 0 additions & 45 deletions cmd/publish/artifactory/cmd_publish_artifactory.go

This file was deleted.

38 changes: 0 additions & 38 deletions cmd/publish/cmd_publish.go

This file was deleted.

Loading

0 comments on commit afcc0c9

Please sign in to comment.