question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`craft` target for Unity

See original GitHub issue

We’re setting up craft with the new Unity SDK.

CI is already configured in a way that we use the GitHub artifacts provider and craft prepare x.x.x already works as expected. Release registry has a new SDK: upm:sentry-unity and is configured already.

What we’re missing now is the target to get craft publish to work.

We’ve identified two tasks to do that:

  1. The github target currently downloads the artifact, unzip it, and publish all files in that artifact to the github release. image This isn’t the expected behavior for Unity, so ideally we’d just skip attaching anything to the github release altogether.

One alternative is to zip the files before adding as attachment. And having the target (see below) unzip to move to package

  1. The actual ‘release’ for UPM is to replace all contents of a folder in the repository itself, and push it to the main branch. More context about the release process in this issue, and the contributing docs.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
BYKcommented, May 10, 2021

Closed via #209

0reactions
bruno-garciacommented, Apr 27, 2021

To update this issue with the last comment from the pair “Unity Release” issue:

Currently the “upm target” is taken by these steps:

export release=0.0.6
export artifact=where/craft/downloaded/artifact
git checkout git@github.com:getsentry/unity.git
cd unity
git rm -r .
unzip $artifact/package-release.zip -d .
git add .
git commit -m "release $release"
git tag $release
git push origin main --tags

It’s something that @bitsandfoxes is looking into to get into craft.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Global Crafts : Wedding Candles & Unity Candles - Target
Shop Target for Wedding Candles & Unity Candles you will love at great low prices. Choose from Same Day Delivery, Drive Up or...
Read more >
Arts, Crafts & Sewing - Target
Shop Target for Arts & Crafts you will love at great low prices. Free shipping on orders of $35+ or same-day pick-up in...
Read more >
Wedding Candles & Unity Candles - Target
Shop Target for Wedding Candles & Unity Candles you will love at great low prices. ... Global Crafts Hand-Painted Dinner or Shabbat Candles,...
Read more >
Multicolored : Wedding Candles & Unity Candles - Target
Shop Target for Wedding Candles & Unity Candles you will love at great low prices. ... Global Crafts Unscented Hand-Painted Dinner Candles, Boxed...
Read more >
Blue : Wedding Candles & Unity Candles - Target
Shop Target for Wedding Candles & Unity Candles you will love at great low prices. ... Global Crafts Unscented Hand-Painted Dinner Candles, Set...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found