Skip to content

Commit

Permalink
automated release of tags
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm committed Jan 27, 2025
1 parent 564fa82 commit ea3450f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,25 @@ name: Bump version

on:
workflow_run:
workflows: ["CI"]
types: [completed]

permissions:
contents: write
workflows: [ "CI" ]
types: [ completed ]

jobs:
build:
tag:
permissions:
contents: write

if: >
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.head_branch == 'main'
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Bump version and push tag
- name: Generate Tag
uses: cvxgrp/.github/actions/uv/tag@v2.0.8
id: tag_version
uses: mathieudutour/github-tag-action@v6.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.tag_version.outputs.new_tag }}
generate_release_notes: true
File renamed without changes.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cvxball

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE.txt)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
[![CI](https://github.com/cvxgrp/cvxball/actions/workflows/ci.yml/badge.svg)](https://github.com/cvxgrp/cvxball/actions/workflows/ci.yml)
[![Coverage Status](https://coveralls.io/repos/github/cvxgrp/cvxball/badge.svg?branch=main)](https://coveralls.io/github/cvxgrp/cvxball?branch=main)
[![Created with Cradle](https://img.shields.io/badge/Created%20with-Cradle-blue?style=flat-square)](https://github.com/tschm/package)
Expand Down

0 comments on commit ea3450f

Please sign in to comment.