Skip to content

Commit

Permalink
Merge pull request #91 from ourzora/matt/only-release-on-new-tag
Browse files Browse the repository at this point in the history
fix: only make release on new tag
  • Loading branch information
mattmalec authored Oct 16, 2023
2 parents a851806 + f01392e commit d19652a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.2.4

- Update Github actions pipeline

## v0.2.3

- Use gen_parse_metadata for async pipeline
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Getting Started

Documentation for version: **v0.2.3**
Documentation for version: **v0.2.4**

## Overview

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit d19652a

Please sign in to comment.