diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9788ca9..ec75502 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,8 +4,19 @@ on: tags: - "v*" jobs: + branch_exists: + runs-on: ubuntu-20.04 + steps: + - name: Check if release already exists + env: + REF: ${{ github.ref }} + run: | + echo branch_exists=$(git ls-remote --heads origin refs/heads/release/${REF:10} | wc -l) >> $GITHUB_OUTPUT + release: runs-on: ubuntu-20.04 + needs: branch_exists + if: ${{ needs.branch_exists.outputs.branch_exists == "0" }} steps: - uses: actions/checkout@v2 diff --git a/docs/changelog.md b/docs/changelog.md index 189fe86..9de0b8e 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,9 @@ # Changelog +## v0.2.4 + +- Update Github actions pipeline + ## v0.2.3 - Use gen_parse_metadata for async pipeline diff --git a/docs/index.md b/docs/index.md index aec77b4..ec5e94f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,6 +1,6 @@ # Getting Started -Documentation for version: **v0.2.3** +Documentation for version: **v0.2.4** ## Overview diff --git a/pyproject.toml b/pyproject.toml index 5481bcd..816d418 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "offchain" -version = "0.2.3" +version = "0.2.4" description = "Open source metadata processing framework" authors = ["Zora eng "] readme = "README.md"