Skip to content

allow adding packages without a path#10

Merged
davidnewhall merged 1 commit intomainfrom
dn2_add_pkg
May 30, 2025
Merged

allow adding packages without a path#10
davidnewhall merged 1 commit intomainfrom
dn2_add_pkg

Conversation

@davidnewhall
Copy link
Contributor

@davidnewhall davidnewhall commented May 27, 2025

In CI the path does not contain GitHub.com or the org name, so allowing adding packages with an absolute path separate from the name.

Example:

	localPrefix    = "github.com/Notifiarr/notifiarr/"

	for _, pkg := range localPkgs {
		dir := strings.TrimPrefix(pkg, localPrefix)
		docs.AddPkgMust(path.Join("../../../", dir), pkg) // `git clone`
	}

@davidnewhall davidnewhall merged commit 1474027 into main May 30, 2025
8 checks passed
@davidnewhall davidnewhall deleted the dn2_add_pkg branch May 30, 2025 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant