Skip to content

Commit

Permalink
Create make-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
craig8 authored May 12, 2023
1 parent 4d6c3b2 commit b39acf0
Showing 1 changed file with 59 additions and 0 deletions.
59 changes: 59 additions & 0 deletions .github/workflows/make-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Make full release

on:
workflow_dispatch:
inputs:
publish-to-test-pypi:
description: 'Publish to test pypi instead of pypi'
required: false
default: false
type: boolean
bump-rule:
description: 'Rule for computing next release version'
required: false
default: 'prerelease'
type: choice
options:
- patch
- minor
- major
- prepatch
- preminor
- premajor
- prerelease
release-version:
description: 'Version number to use(instead of computing). Should be of the format x.y.z[rcn]. Do not use hyphens.'
required: false
default: ''
type: string
merge-strategy:
description: 'Merge strategy and strategy options. Used only in case of merge conflicts'
required: false
default: ''
type: string

defaults:
run:
shell: bash

env:
LANG: en_US.utf-8
LC_ALL: en_US.utf-8
PYTHON_VERSION: '3.10'

jobs:
call-deploy-release:
permissions:
contents: write # To push a branch
pull-requests: write # To create a PR from that branch

uses: eclipse-volttron/github-tooling/.github/workflows/deploy-release.yml@main
with:
merge-strategy: ${{ inputs.merge-strategy }}
release-version: ${{ inputs.release-version }}
bump-rule: ${{ inputs.bump-rule }}
run-tests-wait: 600
publish-to-test-pypi: false
secrets:
git-token: ${{ secrets.AUTO_PROJECT_PAT }}
pypi-token: ${{ secrets.PYPI_TOKEN }}

0 comments on commit b39acf0

Please sign in to comment.