diff --git a/.github/workflows/aptos-contract.yml b/.github/workflows/ci-aptos-contract.yml similarity index 100% rename from .github/workflows/aptos-contract.yml rename to .github/workflows/ci-aptos-contract.yml diff --git a/.github/workflows/pyth-cosmwasm-contract.yml b/.github/workflows/ci-cosmwasm-contract.yml similarity index 94% rename from .github/workflows/pyth-cosmwasm-contract.yml rename to .github/workflows/ci-cosmwasm-contract.yml index c129b300..980f2d5e 100644 --- a/.github/workflows/pyth-cosmwasm-contract.yml +++ b/.github/workflows/ci-cosmwasm-contract.yml @@ -1,4 +1,4 @@ -name: Pyth CosmWasm Contract +name: Test CosmWasm Contract on: pull_request: diff --git a/.github/workflows/ethereum-contract.yml b/.github/workflows/ci-ethereum-contract.yml similarity index 100% rename from .github/workflows/ethereum-contract.yml rename to .github/workflows/ci-ethereum-contract.yml diff --git a/.github/workflows/message-buffer-idl-check.yaml b/.github/workflows/ci-message-buffer-idl.yml similarity index 100% rename from .github/workflows/message-buffer-idl-check.yaml rename to .github/workflows/ci-message-buffer-idl.yml diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/ci-pre-commit.yml similarity index 100% rename from .github/workflows/pre-commit.yml rename to .github/workflows/ci-pre-commit.yml diff --git a/.github/workflows/remote-executor.yml b/.github/workflows/ci-remote-executor.yml similarity index 100% rename from .github/workflows/remote-executor.yml rename to .github/workflows/ci-remote-executor.yml diff --git a/.github/workflows/lerna.yaml b/.github/workflows/ci-typescript.yml similarity index 100% rename from .github/workflows/lerna.yaml rename to .github/workflows/ci-typescript.yml diff --git a/.github/workflows/publish-js.yml b/.github/workflows/publish-js.yml index dfccd040..f14bdb38 100644 --- a/.github/workflows/publish-js.yml +++ b/.github/workflows/publish-js.yml @@ -1,13 +1,12 @@ name: Publish Pyth JS packages on: - release: - types: - - created + push: + tags: + - pyth-js-v* jobs: publish-js: name: Publish Javascript Packages to NPM - if: ${{ startsWith(github.ref, 'refs/tags/pyth-js-v') }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/publish-pyth-sdk-cw.yml b/.github/workflows/publish-pyth-sdk-cw.yml index 5deff011..6428b5a0 100644 --- a/.github/workflows/publish-pyth-sdk-cw.yml +++ b/.github/workflows/publish-pyth-sdk-cw.yml @@ -1,13 +1,12 @@ name: Publish Pyth SDK for Cosmwasm to crates.io on: - release: - types: - - created + push: + tags: + - pyth-sdk-cw-v* jobs: publish-pyth-sdk-cw: name: Publish Pyth SDK CW - if: ${{ startsWith(github.ref, 'refs/tags/pyth-sdk-cw-v') }} runs-on: ubuntu-latest steps: - name: Checkout sources diff --git a/.github/workflows/attester-image-push.yml b/.github/workflows/push-attester-image.yml similarity index 100% rename from .github/workflows/attester-image-push.yml rename to .github/workflows/push-attester-image.yml diff --git a/.github/workflows/hermes-image-push.yml b/.github/workflows/push-hermes-image.yml similarity index 100% rename from .github/workflows/hermes-image-push.yml rename to .github/workflows/push-hermes-image.yml diff --git a/.github/workflows/price-pusher-image-push.yml b/.github/workflows/push-price-pusher-image.yml similarity index 100% rename from .github/workflows/price-pusher-image-push.yml rename to .github/workflows/push-price-pusher-image.yml diff --git a/.github/workflows/price-server-image-push.yml b/.github/workflows/push-price-server-image.yml similarity index 100% rename from .github/workflows/price-server-image-push.yml rename to .github/workflows/push-price-server-image.yml diff --git a/.github/workflows/xc-admin-frontend-image-push.yaml b/.github/workflows/push-xc-admin-frontend-image.yml similarity index 100% rename from .github/workflows/xc-admin-frontend-image-push.yaml rename to .github/workflows/push-xc-admin-frontend-image.yml diff --git a/.github/workflows/xc-admin-image-push.yaml b/.github/workflows/push-xc-admin-image.yml similarity index 100% rename from .github/workflows/xc-admin-image-push.yaml rename to .github/workflows/push-xc-admin-image.yml diff --git a/.github/workflows/release-pyth-cosmwasm-contract.yml b/.github/workflows/release-pyth-cosmwasm-contract.yml index f5538d40..08fcaf39 100644 --- a/.github/workflows/release-pyth-cosmwasm-contract.yml +++ b/.github/workflows/release-pyth-cosmwasm-contract.yml @@ -4,7 +4,6 @@ on: push: tags: - pyth-cosmwasm-contract-v* - jobs: release-contract: name: Build and Release cosmwasm contract diff --git a/README.md b/README.md index 66098a2e..69dbc764 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ To perform a release, follow these steps: 1. Update the version number in the `package.json` file for the package(s) you wish to release. Please follow [Semantic Versioning](https://semver.org/) for package versions. 2. Submit a PR with the changes and merge them in to main. -3. Create a new release in github with a tag of the form `pyth-js-v`. You can simply increment the version number each time -- it doesn't affect any of the published information. +3. Create a new tag `pyth-js-v` and push to github. You can simply increment the version number each time -- it doesn't affect any of the published information. 4. When this release is published, it will automatically trigger a CI workflow to publish the updated packages to NPM. If you have a javascript package that shouldn't be published, simply add `"private": "true"` to the `package.json` file