-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: packaging with validation #440
Conversation
2ea258e
to
1047b78
Compare
scripts/pack.ps1
Outdated
@@ -1,3 +1,4 @@ | |||
Remove-Item "package-release" -Recurse |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes the script reentrant
# Verifies the contents of the UPM package against a snapshot file | ||
# 'dotnet build' and 'pack.ps1' must have already been run | ||
|
||
# To accept a new snapshot file, run 'pwsh ./test.ps1 accept' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# To accept a new snapshot file, run 'pwsh ./test.ps1 accept' | |
# To accept a new snapshot file, run 'pwsh ./test/Scripts.Tests/test-pack-contents.ps1 accept' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The path is below this line so I avoided a copy paste here
Failing will show what's missing and what's extra:
#skip-changelog
Partially resolves #431