-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a3bf39
commit 27be9d6
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,7 +69,7 @@ jobs: | |
/DKHIOPS_VIZ_INSTALLER_PATH=.\nsis-requirements\${{ needs.retrieve-nsis-requirements.outputs.khiops-viz-filename }} ` | ||
/DKHIOPS_COVIZ_INSTALLER_PATH=.\nsis-requirements\${{ needs.retrieve-nsis-requirements.outputs.khiops-coviz-filename }} ` | ||
khiops.nsi | ||
- name: Upload installer as artifact | ||
- name: Upload installer as an artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: khiops-installer | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#! /usr/bin/env bash | ||
set -euo pipefail | ||
|
||
# Obtain the khiops repo location | ||
SCRIPT_DIR=$(cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd) | ||
KHIOPS_REPO_DIR=$(dirname "$SCRIPT_DIR") | ||
|
||
# Get the version | ||
# - Get the version definition line in the KWKhiopsVersion.h file | ||
# - Get the third token, it should be something like str(10.1.1) | ||
# - Extract the version | ||
grep "KHIOPS_VERSION" "$KHIOPS_REPO_DIR"/src/Learning/KWUtils/KWKhiopsVersion.h \ | ||
| cut -d' ' -f3 \ | ||
| sed 's/str(\(.*\))/\1/' |