Skip to content

feat: v2.1.0 (#4)

feat: v2.1.0 (#4) #4

name: Build a draft release
on:
push:
branches: [ "main" ]
workflow_dispatch:
jobs:
create-release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Retrieve version from VERSION
run: |
RELVER=$(cat VERSION | tr -d '[:space:]')
echo "RELVER=$RELVER" >> $GITHUB_ENV
- name: Retrieve app name from APPNAME
run: |
APPNAME=$(cat APPNAME)
echo "APPNAME=$APPNAME" >> $GITHUB_ENV
- name: Draft a release
uses: softprops/action-gh-release@v1
with:
name: ${{ env.RELVER }}
body: |
**!Important - review then remove this top section**
- [ ] Verify the .pdf and .qvf are correct (only the OEM-Dashboard qvf will be automatically attached)
- [ ] Align the tag to the release version
- [ ] Verify release name matches tag (e.g. v1.2.1)
- [ ] Add any comments on breaking changes/ amends to the auto generated release notes
- [ ] Delete this section
We are pleased to release version ${{ env.RELVER }} of the ${{ env.APPNAME }}.
Find attached the app (${{ env.APPNAME }}.qvf and Console-Settings-Collector.qvf) and install guide (OEM-Dashboard-Configuration-Guide.pdf).
draft: true
tag_name: ${{ env.RELVER }}
generate_release_notes: true
fail_on_unmatched_files: true
files: |
./app/${{ env.APPNAME }}.qvf
./app/Console-Settings-Collector.qvf
./docs/OEM-Dashboard-Configuration-Guide.pdf