Skip to content

Release

Release #40

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
jobs:
publish:
name: Create release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: maven
- name: Set version
id: set-version
run: |
REF=${{ github.ref }}
VERSION=${REF/refs\/tags\/v/}
echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: Generate assets
run: ./mvnw -B --no-transfer-progress -DskipTests package
- name: Draft Release
uses: softprops/action-gh-release@v1
with:
draft: true # Only publish after manual trigger
generate_release_notes: true
files: |
org.yamcs.studio.editor.product/target/products/*.zip
org.yamcs.studio.editor.product/target/products/*.tar.gz