diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml deleted file mode 100644 index 753d56e8..00000000 --- a/.github/workflows/release-please.yml +++ /dev/null @@ -1,24 +0,0 @@ -on: - push: - branches: - - main - -permissions: - contents: write - issues: write - pull-requests: write - -name: release-please - -jobs: - release-please: - runs-on: ubuntu-latest - steps: - - uses: actions/create-github-app-token@v2 - id: generate-token - with: - app-id: ${{ vars.RELEASE_BOT_CLIENT_ID }} - private-key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }} - - uses: googleapis/release-please-action@v4 - with: - token: ${{ steps.generate-token.outputs.token }} diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml new file mode 100644 index 00000000..3d96a73f --- /dev/null +++ b/.github/workflows/release-plz.yml @@ -0,0 +1,59 @@ +name: Release-plz + +on: + push: + branches: + - main + +permissions: + contents: write + issues: write + pull-requests: write + +jobs: + release-plz-release: + name: Release-plz release + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - &checkout + name: Checkout repository + uses: actions/checkout@v6 + with: + fetch-depth: 0 + persist-credentials: false + - &install-rust + name: Install Rust toolchain + uses: dtolnay/rust-toolchain@stable + - &generate-token + uses: actions/create-github-app-token@v2 + id: generate-token + with: + app-id: ${{ vars.RELEASE_BOT_CLIENT_ID }} + private-key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }} + - name: Run release-plz + uses: release-plz/action@v0.5 + with: + command: release + env: + GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} + release-plz-pr: + name: Release-plz PR + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + concurrency: + group: release-plz-${{ github.ref }} + cancel-in-progress: false + steps: + - *checkout + - *install-rust + - *generate-token + - name: Run release-plz + uses: release-plz/action@v0.5 + with: + command: release-pr + env: + GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} diff --git a/crates/core/README.md b/crates/core/README.md index f938c954..6a104d60 100644 --- a/crates/core/README.md +++ b/crates/core/README.md @@ -14,7 +14,7 @@ To use the library in your project: ```toml [dependencies] -stac = "0.13" +stac = "*" ``` ## Examples diff --git a/crates/io/README.md b/crates/io/README.md index 83555e95..3824872b 100644 --- a/crates/io/README.md +++ b/crates/io/README.md @@ -14,7 +14,7 @@ To use the library in your project: ```toml [dependencies] -stac-io = "0.1" +stac-io = "*" ``` ## Other info diff --git a/crates/pgstac/README.md b/crates/pgstac/README.md index 5d3d6de2..11a746ee 100644 --- a/crates/pgstac/README.md +++ b/crates/pgstac/README.md @@ -13,7 +13,7 @@ In your `Cargo.toml`: ```toml [dependencies] -pgstac = "0.3" +pgstac = "*" ``` See the [documentation](https://docs.rs/pgstac) for more. diff --git a/crates/server/README.md b/crates/server/README.md index 8588399d..8a181f3d 100644 --- a/crates/server/README.md +++ b/crates/server/README.md @@ -36,7 +36,7 @@ To use this library in another application: ```toml [dependencies] -stac-server = "0.3" +stac-server = "*" ``` ### Deploying