Skip to content
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

fix: Release packaging #438

Merged
merged 3 commits into from
Nov 30, 2021
Merged

fix: Release packaging #438

merged 3 commits into from
Nov 30, 2021

Conversation

bitsandfoxes
Copy link
Contributor

@bitsandfoxes bitsandfoxes commented Nov 29, 2021

New pack script:

  1. Copy package-dev but exclude aliasing, tests, asmdef,...
  2. Copy missing .meta files and files we want to override from package
  3. Copy Changelog, Licence and Samples
  4. zip it - ship it

#skip-changelog

@bruno-garcia
Copy link
Member

I ran it locally (after dotnet build) and I'm getting:

Copy-Item: /Users/bruno/git/sentry-unity/scripts/pack.ps1:25:1
Line |
  25 |  Copy-Item "samples/unity-of-bugs/Assets/Scripts" -Destination "packag …
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path '/Users/bruno/git/sentry-unity/scripts/samples/unity-of-bugs/Assets/Scripts' because it does not exist.

@bruno-garcia
Copy link
Member

my bad, the script assumes running from root, I ran it from /scripts

@bitsandfoxes bitsandfoxes merged commit df74925 into main Nov 30, 2021
@bitsandfoxes bitsandfoxes deleted the fix/packaging branch November 30, 2021 11:07
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.

2 participants