Skip to content

Update Container images - All - Major, minor and patch to v26.4.0 (#2… #1097

Update Container images - All - Major, minor and patch to v26.4.0 (#2…

Update Container images - All - Major, minor and patch to v26.4.0 (#2… #1097

name: Draft release notes
on:
push:
tags:
- '*'
branches:
- develop
#;< VORTEX_DEV
- main
#;> VORTEX_DEV
permissions:
contents: write
jobs:
release-drafter:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Load environment variables from .env
run: t=$(mktemp) && export -p >"${t}" && set -a && . ./.env && set +a && . "${t}" && env >> "$GITHUB_ENV"
env:
VORTEX_RELEASE_VERSION_SCHEME: ${{ vars.VORTEX_RELEASE_VERSION_SCHEME || 'calver' }}
- name: Generate CalVer version
if: ${{ contains(env.VORTEX_RELEASE_VERSION_SCHEME, 'calver') }}
id: calver
run: |
export VERSION="$(date "+%y.%-m").0"
echo "version=${VERSION}" >> "${GITHUB_OUTPUT}"
echo "Version set to ${VERSION}"
- name: Draft release notes
uses: release-drafter/release-drafter@5de93583980a40bd78603b6dfdcda5b4df377b32 # v7.2.0
with:
tag: ${{ steps.calver.outputs.version }}
name: ${{ steps.calver.outputs.version }}
version: ${{ steps.calver.outputs.version }}