Skip to content

release

release #2

Workflow file for this run

name: release
on:
workflow_dispatch:
inputs:
fragment:
type: choice
description: Semantic version target
options:
- bug
- feature
- major
target:
type: choice
description: Release target package name
options:
- h6x_ros2_controller
- h6x_ros2_controller_example
- image_sensor_broadcaster
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Upgrade version
id: upgrade
uses: HarvestX/ros2-release-ci-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
base_pkg: h6x_ros2_controller
with:
target-package: ${{ github.event.inputs.target }}
version-fragment: ${{ github.event.inputs.fragment }}
create-release: ${{ github.event.inputs.target == env.base_pkg }}