Skip to content

Latest commit

 

History

History
28 lines (14 loc) · 980 Bytes

README-DEPLOYMENT.md

File metadata and controls

28 lines (14 loc) · 980 Bytes

Configure

  1. Create a directory at the root of your repo called .github/workflows

  2. Place the release.yml from this directory there

  3. Place the .goreleaser.yml from this directory at the root of your repo

  4. Obtain needed accounts and tokens from the language specific package managers you will use

  5. Add any needed tokens to the actions secrets for your repository or organization

  6. Customize the release.yml with the correct tokens using the format:

    ${{ secrets.MyTokenName }}

  7. Customize .goreleaser.yml for your provider, replacing any instances of 'xyz' with your provider's name, and paying special attention that the ldlflags are set to match your provider/go.mod exactly:

    -X github.com/pulumi/pulumi-aws/provider/v5/pkg/version.Version={{.Tag}}

  8. Delete this directory if desired

Deploy

  1. Push a tag to your repo in the format "v0.0.0" to initiate a release

  2. IMPORTANT: also add a tag in the format "sdk/v0.0.0" for the Go SDK