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

Publish SDKs and templates via release workflows #465

Conversation

mattjohnsonpint
Copy link
Collaborator

@mattjohnsonpint mattjohnsonpint commented Oct 16, 2024

Description

  • Makes a default template for each SDK (which will later be used by modus new)
  • Creates a release workflow for each SDK
    • For AssemblyScript, the release workflow updates the templates with the correct version in package.json, publishes the SDK source package to NPM, then creates a GitHub release with the templates attached as an asset.
    • For Go, the release workflow updates the templates with the correct version in go.mod and go.sum by installing with the correct tag (which also primes the go module proxy), and then creates a GitHub release with the templates attached as an asset.
  • Includes a few other workflow updates and misc cleanup found along the way.

Checklist

  • Code compiles correctly and linting passes locally
  • Tests for new functionality and regression tests for bug fixes added
  • Documentation added or updated
  • Entry added to the CHANGELOG.md file describing and linking to this PR

@mattjohnsonpint mattjohnsonpint requested a review from a team as a code owner October 16, 2024 01:32
@mattjohnsonpint mattjohnsonpint marked this pull request as draft October 16, 2024 01:33
Copy link

socket-security bot commented Oct 16, 2024

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: npm/@hypermode/modus-sdk-as@0.13.0-alpha1

View full report↗︎

@mattjohnsonpint mattjohnsonpint changed the title Publish templates for SDKs using release workflows Publish SDKs and templates via release workflows Oct 16, 2024
@mattjohnsonpint mattjohnsonpint marked this pull request as ready for review October 16, 2024 04:58
@mattjohnsonpint mattjohnsonpint enabled auto-merge (squash) October 16, 2024 04:59
@mattjohnsonpint mattjohnsonpint merged commit 36e709a into main Oct 16, 2024
160 checks passed
@mattjohnsonpint mattjohnsonpint deleted the mjp/hyp-2383-put-templates-in-the-modus-repo-and-publish-as-artifacts-for branch October 16, 2024 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants