diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index fed3d97c..8af7a8c9 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -49,11 +49,11 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }} CROSS_DELETE_TARGET: 1 run: | - ./scripts/release.ts + ./scripts/release/release.ts - name: Upload ZIP artifact uses: actions/upload-artifact@v3 with: name: rivet-plugin - path: /tmp/artifacts//*.zip + path: /tmp/artifacts/*.zip diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7e389544..0effdff4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,37 +1,5 @@ # Contributing -## Versions - -### Publishing Versions - -Install the prerequisites: - -```bash -cargo install cargo-dist@0.6.2 -cargo install cargo-release@0.25.6 -``` - -To release, do the following: - -1. Update & commit the version & release date in `CHANGELOG.md` -2. Run: `scripts/release.sh x.x.x` - -**Prereleases** - -To create a prerelease version, append `rc` like: `x.x.x-rc.x`. `cargo-dist` will automatically flag this as a prerelease on GitHub. - -### Retracting a version - -If something goes wrong with a deploy: - -1. Remove the release on GitHub -2. In order to re-release the version, delete the tag: - - ``` - git tag -d vx.x.x - git push -u origin :refs/tags/vx.x.x - ``` - ## Developing ### Run CLI in Example Project