Skip to content

Commit

Permalink
Fixed packaging of module for github release
Browse files Browse the repository at this point in the history
  • Loading branch information
lipkau committed Oct 1, 2018
1 parent 858355b commit 6fc739f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AtlassianPS.Configuration.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ task PublishToGallery {
}

# Synopsis: push a tag with the version to the git repository
task TagReplository GetNextVersion, {
task TagReplository GetNextVersion, Package, {
Assert-True (-not [String]::IsNullOrEmpty($GithubAccessToken)) "No key for the PSGallery"

$releaseText = "Release version $env:NextBuildVersion"
Expand Down
4 changes: 2 additions & 2 deletions Tools/BuildTools.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ function Publish-GithubRelease {
function Publish-GithubReleaseArtifact {
param(
[Parameter( Mandatory )]
[ValidateNotNullOrEmpty]
$GITHUB_ACCESS_TOKEN,
[ValidateNotNullOrEmpty()]
[String]$GITHUB_ACCESS_TOKEN,
[Uri]$Uri,
[String]$Path
)
Expand Down

0 comments on commit 6fc739f

Please sign in to comment.