Skip to content

Merge pull request #228 from scala-steward/update/sbt-1.9.8 #116

Merge pull request #228 from scala-steward/update/sbt-1.9.8

Merge pull request #228 from scala-steward/update/sbt-1.9.8 #116

Workflow file for this run

name: Tag release
on:
push:
branches:
- master
workflow_dispatch: {}
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '8' ]
scala: [ '2.12.18' ]
steps:
- name: Track version from core
id: set-version
run: echo "plugin_version=$(grep 'val guardrailCoreVersion = ' modules/core/build.sbt | grep -ho '\"[^\"]*\"' | sed 's/\"//g')" >> $GITHUB_OUTPUT
- name: Publish release notes
uses: release-drafter/release-drafter@v5
with:
version: ${{ steps.set-version.outputs.plugin_version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}