Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: only make release on new tag #91

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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