Skip to content

XRPL-GO Release

XRPL-GO Release #4

name: XRPL-GO Release
on:
workflow_dispatch:
inputs:
commit_branch:
description: The branch or the commit sha to push tag to
required: true
tag:
description: The tag of the release
required: true
is_pre_release:
description: Is this a pre-release?
type: boolean
required: true
jobs:
release:
runs-on: ubuntu-latest
name: Release
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.commit_branch }}
fetch-depth: 0
fetch-tags: true
- name: Publish the Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.event.inputs.tag }}
prerelease: github.event.inputs.is_pre_release
target_commitish: ${{ github.event.inputs.commit_branch }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}