Skip to content

Merge pull request #4 from westonrobot/feature-docs_update #3

Merge pull request #4 from westonrobot/feature-docs_update

Merge pull request #4 from westonrobot/feature-docs_update #3

Workflow file for this run

name: release
on:
push:
branches:
- 'main'
env:
TAG_VERSION: "1.3.x"
jobs:
tag-release:
runs-on: ubuntu-latest
container:
image: "westonrobot/ubuntu:jammy-ci-latest"
steps:
- name: Create tag
continue-on-error: true
if: github.ref_name == 'main'
uses: westonrobot-dev/github-tag-action@v6.1
id: tag_version
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
custom_tag: ${{ env.TAG_VERSION }}
release_branches: "main"
pre_release_branches: "prerelease"
- name: Create Github Release
if: github.ref_name == 'main' && (steps.tag_version.outcome == 'success')
uses: westonrobot-dev/workflow-dispatch@v1.2.2
with:
workflow: release-github.yml
ref: ${{ steps.tag_version.outputs.new_tag }}