Skip to content

Commit

Permalink
root: reset everything to use PRODUCT_SKU instead of PRODUCT_SKU_TITL…
Browse files Browse the repository at this point in the history
…ECASE

It appears the previous release using PRODUCT_SKU_TITLECASE is causing
confusion in the end-user bundle. Hence, let's reset everything back
to use PRODUCT_SKU only. Let's do this.

This patch resets everything to use PRODUCT_SKU instead of
PRODUCT_SKU_TITLECASE in root repository.

Co-authored-by: Shuralyov, Jean <[email protected]>
Co-authored-by: Galyna, Cory <[email protected]>
Co-authored-by: (Holloway) Chew, Kean Ho <[email protected]>
Signed-off-by: (Holloway) Chew, Kean Ho <[email protected]>
  • Loading branch information
3 people committed Mar 22, 2024
1 parent 1021379 commit d4ff728
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .internals/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -189,20 +189,20 @@ while IFS="" read -r __line || [ -n "$__line" ]; do


# build the file
if [ "$__line" = "automataCI" ]; then
___dest="${___directory}/AutomataCI-${PROJECT_VERSION}-core.tar.gz"
if [ "$__line" = "${PROJECT_PATH_AUTOMATA}" ]; then
___dest="${___directory}/${PROJECT_SKU}-${PROJECT_VERSION}-core.tar.gz"
FS_Remove_Silently "$___dest"
tar czvf "$___dest" \
-C "$PROJECT_PATH_ROOT" "$__line" \
-C "$PROJECT_PATH_ROOT" "CONFIG.toml" \
-C "$PROJECT_PATH_ROOT" ".gitignore"
else
___dest="${___directory}/AutomataCI-${PROJECT_VERSION}-${__line}.tar.gz"
___dest="${___directory}/${PROJECT_SKU}-${PROJECT_VERSION}-${__line}.tar.gz"
FS_Remove_Silently "$___dest"
tar czvf "$___dest" -C "$PROJECT_PATH_ROOT" "$__line"
fi
done <<EOF
automataCI
${PROJECT_PATH_AUTOMATA}
src
srcC
srcNIM
Expand All @@ -225,7 +225,7 @@ find ".internals/docs/" -name '*.pdf' -print0 \

___file="${___file_src##*/}"
___file="$(FS_Extension_Remove "$___file" "*")"
___dest="${___directory}/AutomataCI-${PROJECT_VERSION}-User-Guide_${___file##*_}.pdf"
___dest="${___directory}/${PROJECT_SKU}-${PROJECT_VERSION}-user-guide_${___file##*_}.pdf"
FS_Remove_Silently "$___dest"
FS_Copy_File "$___file_src" "$___dest"
done
Expand Down
4 changes: 2 additions & 2 deletions automataCI/package_unix-any.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ if [ $? -ne 0 ]; then
fi


FILE_CHANGELOG_MD="${PROJECT_SKU_TITLECASE}-CHANGELOG_${PROJECT_VERSION}.md"
FILE_CHANGELOG_MD="${PROJECT_SKU}-CHANGELOG_${PROJECT_VERSION}.md"
FILE_CHANGELOG_MD="${PROJECT_PATH_ROOT}/${PROJECT_PATH_PKG}/${FILE_CHANGELOG_MD}"
FILE_CHANGELOG_DEB="${PROJECT_PATH_ROOT}/${PROJECT_PATH_TEMP}/deb/changelog.gz"
PACKAGE_Run_CHANGELOG "$FILE_CHANGELOG_MD" "$FILE_CHANGELOG_DEB"
if [ $? -ne 0 ]; then
return 1
fi

FILE_CITATION_CFF="${PROJECT_SKU_TITLECASE}-CITATION_${PROJECT_VERSION}.cff"
FILE_CITATION_CFF="${PROJECT_SKU}-CITATION_${PROJECT_VERSION}.cff"
FILE_CITATION_CFF="${PROJECT_PATH_ROOT}/${PROJECT_PATH_PKG}/${FILE_CITATION_CFF}"
PACKAGE_Run_CITATION "$FILE_CITATION_CFF"
if [ $? -ne 0 ]; then
Expand Down
4 changes: 2 additions & 2 deletions automataCI/package_windows-any.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if ($___process -ne 0) {
}


$FILE_CHANGELOG_MD = "${env:PROJECT_SKU_TITLECASE}-CHANGELOG_${env:PROJECT_VERSION}.md"
$FILE_CHANGELOG_MD = "${env:PROJECT_SKU}-CHANGELOG_${env:PROJECT_VERSION}.md"
$FILE_CHANGELOG_MD = "${env:PROJECT_PATH_ROOT}\${env:PROJECT_PATH_PKG}\${FILE_CHANGELOG_MD}"
$FILE_CHANGELOG_DEB = "${env:PROJECT_PATH_ROOT}\${env:PROJECT_PATH_TEMP}\deb\changelog.gz"
$___process = Package-Run-CHANGELOG "$FILE_CHANGELOG_MD" "$FILE_CHANGELOG_DEB"
Expand All @@ -49,7 +49,7 @@ if ($___process -ne 0) {
}


$FILE_CITATION_CFF = "${env:PROJECT_SKU_TITLECASE}-CITATION_${env:PROJECT_VERSION}.cff"
$FILE_CITATION_CFF = "${env:PROJECT_SKU}-CITATION_${env:PROJECT_VERSION}.cff"
$FILE_CITATION_CFF = "${env:PROJECT_PATH_ROOT}\${env:PROJECT_PATH_PKG}\${FILE_CITATION_CFF}"
$___process = Package-Run-CITATION "$FILE_CITATION_CFF"
if ($___process -ne 0) {
Expand Down

0 comments on commit d4ff728

Please sign in to comment.