From 1a8604377e6e17a90feef1166969236a397d7db3 Mon Sep 17 00:00:00 2001 From: Ryanne Dolan Date: Mon, 8 May 2023 23:49:35 -0500 Subject: [PATCH] Release workflow (#7) * Fix release workflow * Fix version in release workflow --- hoptimator-catalog/build.gradle | 1 + hoptimator-planner/build.gradle | 1 + 2 files changed, 2 insertions(+) diff --git a/hoptimator-catalog/build.gradle b/hoptimator-catalog/build.gradle index 9a715e0..47fb7ce 100644 --- a/hoptimator-catalog/build.gradle +++ b/hoptimator-catalog/build.gradle @@ -26,6 +26,7 @@ publishing { maven(MavenPublication) { groupId = 'com.linkedin.hoptimator' artifactId = 'hoptimator-catalog' + version = System.getenv('GITHUB_REF_NAME') from components.java } } diff --git a/hoptimator-planner/build.gradle b/hoptimator-planner/build.gradle index 074fb34..bdae49e 100644 --- a/hoptimator-planner/build.gradle +++ b/hoptimator-planner/build.gradle @@ -25,6 +25,7 @@ publishing { maven(MavenPublication) { groupId = 'com.linkedin.hoptimator' artifactId = 'hoptimator-planner' + version = System.getenv('GITHUB_REF_NAME') from components.java } }