Microsoft MakeCode

Share link to "Latest Release"?

Is there a way to have a Share link that always points to the latest GitHub release of a game?

Perhaps there is a way to do this with GitHub Actions and a URL shortener, but I’m not (yet) wise in the way of Actions, and I don’t know how the Share/Publish links are generated, so any tips on where to look would be greatly appreciated.

Thanks!
Jeff :slight_smile:

That should just be the link to the game github pages site itself; that would be

{your github id}.github.io/{your repo's name}

for example, one of the games I made is https://microsoft.github.io/pxt-kickoff/ , which gets generated from https://github.com/microsoft/pxt-kickoff/

I think the link should be automatically added at the top of the readme.

1 Like

Modifying the readme behind the user’s back is generally not a good idea. As @jwunderl, the GitHub Pages link (which is set as your repo web site) will automatically point to the latest release created from MakeCode.

1 Like

Oh, I meant that when you create a repo it currently gets added at the top of the readme, not that we should change anything about that behavior / re add it to the top~

Awesome! Thank you, my friends! That was surprisingly easy.

Side note:
I found that the “Manual” link on the bottom of the simulator results in a 404, but was able to change my repo’s index.html to point to the repo’s README view (I tried first just adding “.md”, which worked but the browser wasn’t rendering the Markdown).

Thanks!
Jeff :slight_smile: