We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1478b9 commit 2debe36Copy full SHA for 2debe36
makefile
@@ -1,3 +1,7 @@
1
.PHONY: test
2
test:
3
pwsh -Command 'Invoke-Pester -EnableExit (Get-childItem -Recurse *.tests.ps1).fullname'
4
+
5
+.PHONY: publish
6
+publish:
7
+ pwsh -File ./tools/publish-module.ps1 "$$(pwd)" "${PSGALLERY_API_KEY}"
tools/publish-module.ps1
@@ -0,0 +1,7 @@
+param($ProjectDirectory,$PSGALLERY_API_KEY)
+$Env:PSModulePath = $Env:PSModulePath + ":$ProjectDirectory"
+Publish-Module `
+ -Name "Lesspass" `
+ -Repository "PSGallery" `
+ -NuGetApiKey $Env:PSGALLERY_API_KEY `
0 commit comments