Skip to content

Commit

Permalink
root: releasing version v2.0.0
Browse files Browse the repository at this point in the history
This patch marks the release of version v2.0.0.

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 21, 2024
1 parent 1909935 commit 80a4318
Show file tree
Hide file tree
Showing 17 changed files with 534 additions and 173 deletions.
Binary file modified .internals/docs/0600-internationalization/en.odt
Binary file not shown.
Binary file modified .internals/docs/automataci-user-guide_en.odt
Binary file not shown.
Binary file modified .internals/docs/automataci-user-guide_en.pdf
Binary file not shown.
19 changes: 11 additions & 8 deletions .internals/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ FS_Remove_Silently "srcANGULAR/.angular"


# execute command
___directory="pkgAUTOMATACI"
FS_Remake_Directory "$___directory"
___directory="pkg"
FS_Make_Directory "$___directory"
sync

old_IFS="$IFS"
Expand All @@ -190,13 +190,16 @@ while IFS="" read -r __line || [ -n "$__line" ]; do

# build the file
if [ "$__line" = "automataCI" ]; then
tar czvf "${___directory}/AutomataCI-${PROJECT_VERSION}-core.tar.gz" \
___dest="${___directory}/AutomataCI-${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
tar czvf "${___directory}/AutomataCI-${PROJECT_VERSION}-${__line}.tar.gz" \
-C "$PROJECT_PATH_ROOT" "$__line"
___dest="${___directory}/AutomataCI-${PROJECT_VERSION}-${__line}.tar.gz"
FS_Remove_Silently "$___dest"
tar czvf "$___dest" -C "$PROJECT_PATH_ROOT" "$__line"
fi
done <<EOF
automataCI
Expand All @@ -222,9 +225,9 @@ find ".internals/docs/" -name '*.pdf' -print0 \

___file="${___file_src##*/}"
___file="$(FS_Extension_Remove "$___file" "*")"
1>&2 printf -- "%b --> %b \n" "$___file_src" "$___file"
cp "$___file_src" \
"${___directory}/AutomataCI-${PROJECT_VERSION}-User-Guide_${___file##*_}.pdf"
___dest="${___directory}/AutomataCI-${PROJECT_VERSION}-User-Guide_${___file##*_}.pdf"
FS_Remove_Silently "$___dest"
FS_Copy_File "$___file_src" "$___dest"
done
IFS="$__old_IFS" && unset __old_IFS

Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

cff-version: "1.2.0"
type: "software"
date-released: "2023-11-04"
date-released: "2024-03-21"
title: "AutomataCI"
version: "1.7.0"
version: "2.0.0"
license: "Apache-2.0"
repository: "https://github.com/ChewKeanHo/AutomataCI"
repository-code: "https://github.com/ChewKeanHo/AutomataCI"
Expand Down
4 changes: 2 additions & 2 deletions CONFIG.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ PROJECT_PITCH = "Solid Foundation for Kickstarting Your Software Development"
# like '0.0.1~rc1' instead of dashes (-). Some distribution ecosystem have
# strict and reserved rules for version sorting using dashes so tlide will be
# the best choice.
PROJECT_VERSION = "1.7.0"
PROJECT_VERSION = "2.1.0"


# PROJECT_CADENCE
Expand Down Expand Up @@ -187,7 +187,7 @@ PROJECT_ANGULAR = ''
#
# To enable it: simply supply the path (e.g. default is 'srcC').
# To disable it: simply supply an empty path (e.g. default is '').
PROJECT_C = 'srcC'
PROJECT_C = ''



Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ needs. Please take your time and download a copy:
## To Contribute

AutomataCI cannot be made successfully without contributions from (Holloway)
Chew, Kean Ho and supports from external folks. If you had been using AutomataCI
and wish to contribute back, there are 2 ways to do so:
Chew, Kean Ho, his teams, and supports from external folks. If you had been
using AutomataCI and wish to contribute back, there are 2 ways to do so:



Expand Down
8 changes: 0 additions & 8 deletions automataCI/archive_unix-any.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@ tar czvf "$___artifact_build" \
"$PROJECT_PATH_LOG" \
"$PROJECT_PATH_PKG" \
"$PROJECT_PATH_DOCS"
if [ $? -ne 0 ]; then
I18N_Archive_Failed
return 1
fi



Expand All @@ -82,10 +78,6 @@ tar czvf "$___artifact_workspace" \
"$PROJECT_PATH_LIB" \
"$PROJECT_PATH_TEMP" \
"$PROJECT_PATH_RELEASE"
if [ $? -ne 0 ]; then
I18N_Archive_Failed
return 1
fi



Expand Down
11 changes: 3 additions & 8 deletions automataCI/archive_windows-any.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ foreach ($__line in @(
"${env:PROJECT_PATH_PKG}"
"${env:PROJECT_PATH_DOCS}"
)) {
$___process = ZIP-Create "${___target}" "${__line}"
if ($___process -ne 0) {
$null = I18N-Archive-Failed
}
$null = ZIP-Create "${___target}" "${__line}"
}


Expand All @@ -82,14 +79,12 @@ foreach ($__line in @(
"${env:PROJECT_PATH_TEMP}"
"${env:PROJECT_PATH_RELEASE}"
)) {
$___process = ZIP-Create "${___target}" "${__line}"
if ($___process -ne 0) {
$null = I18N-Archive-Failed
}
$null = ZIP-Create "${___target}" "${__line}"
}




# report status
$null = I18N-Run-Successful
return 0
6 changes: 6 additions & 0 deletions automataCI/notarize_unix-any.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ fi


# begin notarize
FS_Is_Directory "${PROJECT_PATH_ROOT}/${PROJECT_PATH_BUILD}"
if [ $? -ne 0 ]; then
# nothing build - bailing
return 0
fi

for i in "${PROJECT_PATH_ROOT}/${PROJECT_PATH_BUILD}"/*; do
FS_Is_File "$i"
if [ $? -ne 0 ]; then
Expand Down
6 changes: 6 additions & 0 deletions automataCI/notarize_windows-any.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ if ($___process -eq 0) {


# begin notarize
$___process = FS-Is-Directory "${env:PROJECT_PATH_ROOT}\${env:PROJECT_PATH_BUILD}"
if ($___process -ne 0) {
# nothing build - bailing
return 0
}

foreach ($i in (Get-ChildItem -Path "${env:PROJECT_PATH_ROOT}\${env:PROJECT_PATH_BUILD}")) {
$___process = FS-Is-File "$i"
if ($___process -ne 0) {
Expand Down
7 changes: 5 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}-CHANGELOG_${PROJECT_VERSION}.md"
FILE_CHANGELOG_MD="${PROJECT_SKU_TITLECASE}-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}-CITATION_${PROJECT_VERSION}.cff"
FILE_CITATION_CFF="${PROJECT_SKU_TITLECASE}-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 Expand Up @@ -139,6 +139,8 @@ SUBROUTINE_Package() {


# begin registering packagers
FS_Is_Directory "${PROJECT_PATH_ROOT}/${PROJECT_PATH_BUILD}"
if [ $? -eq 0 ]; then
for i in "${PROJECT_PATH_ROOT}/${PROJECT_PATH_BUILD}"/*; do
FS_Is_File "$i"
if [ $? -ne 0 ]; then
Expand Down Expand Up @@ -263,6 +265,7 @@ ${__common}|${__log}|PACKAGE_Run_RPM
return 1
fi
done
fi


I18N_Sync_Run
Expand Down
8 changes: 5 additions & 3 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}-CHANGELOG_${env:PROJECT_VERSION}.md"
$FILE_CHANGELOG_MD = "${env:PROJECT_SKU_TITLECASE}-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}-CITATION_${env:PROJECT_VERSION}.cff"
$FILE_CITATION_CFF = "${env:PROJECT_SKU_TITLECASE}-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 Expand Up @@ -154,8 +154,9 @@ function SUBROUTINE-Package {


# begin registering packagers
if ($(FS-Is-Directory "${env:PROJECT_PATH_ROOT}\${env:PROJECT_PATH_BUILD}") -eq 0) {
foreach ($file in (Get-ChildItem -Path "${env:PROJECT_PATH_ROOT}\${env:PROJECT_PATH_BUILD}" `
| Select-Object -ExpandProperty FullName)) {
| Select-Object -ExpandProperty FullName)) {
$___process = FS-Is-File "$file"
if ($___process -ne 0) {
continue
Expand Down Expand Up @@ -279,6 +280,7 @@ ${__common}|${__log}|PACKAGE-Run-RPM
return 1
}
}
}


$null = I18N-Sync-Run
Expand Down
Loading

0 comments on commit 80a4318

Please sign in to comment.