Skip to content

Commit 6964b46

Browse files
author
Hernán Morales Durand
committed
Release v0.6.2
1 parent b59547c commit 6964b46

File tree

6 files changed

+24
-14
lines changed

6 files changed

+24
-14
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,18 @@ All notable changes to this project will be documented in this file. Dates are d
44

55
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
66

7+
#### [0.6.2](https://github.com/hernanmd/pi/compare/0.6.1...0.6.2)
8+
9+
- Update README.md [`4beccfb`](https://github.com/hernanmd/pi/commit/4beccfb2dfd1666b0f4b259719864cc9166f6a13)
10+
- Add demo session [`b59547c`](https://github.com/hernanmd/pi/commit/b59547c36c54c8b5f63ad17399881ff4aded4430)
11+
- Update README.md [`997d809`](https://github.com/hernanmd/pi/commit/997d8094e553fda959e6eab24d7c854c75eb688a)
12+
713
#### [0.6.1](https://github.com/hernanmd/pi/compare/0.6.0...0.6.1)
814

15+
> 14 June 2022
16+
17+
- Release v0.6.1 [`4045ad9`](https://github.com/hernanmd/pi/commit/4045ad9463977153d98c6c7d761598f12365b865)
18+
919
#### [0.6.0](https://github.com/hernanmd/pi/compare/0.5.9...0.6.0)
1020

1121
> 23 May 2022

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.5.9
1+
0.6.2

deploy.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
# pi - Pharo Install - A MIT-pip-like library for Pharo Smalltalk
44
#
55

6-
set -eo pipefail
7-
6+
#set -eo pipefail
87

98
main () {
109
local version
@@ -13,14 +12,16 @@ main () {
1312
source ~/.nvm/nvm.sh
1413
nvm use
1514
else
16-
printf "Couldn't find .nvmrc file"
15+
printf "Couldn't find .nvmrc file.\nYou can generate a .nvmrc file for your node version with nvm ls"
1716
fi
1817
echo $(date "+%d-%m-%Y") > DATE
1918
[[ -f DATE ]] || { printf "Couldn't write DATE file for release\n"; exit 1; }
2019

20+
# It is highly recommended to supply a version number, otherwise we lose tracking the number in VERSION file
2121
if [ $# -eq 0 ]; then
2222
release-it
2323
else
24+
printf "PI: Version supplied: %s\n" "$1"
2425
version="$1"
2526
echo $version > VERSION
2627
release-it "$version"

libexec/piGitHub.sh

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ count_github_packages () {
8181
local perPage=1
8282
download_github_pkg_names "$pageIndex" "$perPage"
8383
parse_github_pkg_count ${cacheDir}/"$pageIndex.js"
84-
pi_log "Detected Pharo packages in GitHub: %s\n" "$ghPkgCount"
84+
printf "PI: Detected Pharo packages in GitHub: %s\n" "$ghPkgCount"
8585
}
8686

8787
# Install from GitHub
@@ -105,11 +105,11 @@ install_pkg_from_github () {
105105
pkgCount=${#matchingPackages[@]}
106106

107107
if [ "$pkgCount" -gt 1 ]; then
108-
pi_log "Found %s repositories with the package name \"%s\"\n" "$pkgCount" "$pkgNameToInstall"
108+
printf "Found %s repositories with the package name \"%s\"\n" "$pkgCount" "$pkgNameToInstall"
109109
pi_log "Listing follows...\n"
110110
cat -n <<< "${matchingPackages[@]}"
111111
pi_log "Please provide the full name for the package you want to install <repository>/<package name>\n"
112-
pi_log "%s\n" "${matchingPackages[@]}"
112+
printf "%s\n" "${matchingPackages[@]}"
113113
return 1
114114
else
115115
fullPackageName=${matchingPackages[0]}
@@ -128,13 +128,12 @@ install_pkg_from_github () {
128128
pi_err "PI-compatible Smalltalk install expression not found\n"
129129
return $?
130130
fi
131-
# Save image after each Metacello package installation
132-
saveImageExp=".Smalltalk snapshot: true andQuit: true."
133-
fullInstallExpr="${installExpr} ${saveImageExp}"
131+
fullInstallExpr="${installExpr}"
134132
# Download and install Pharo image if not present
135133
install_pharo
136-
pi_log "Install command: ./pharo --headless %s eval \"%s\"" "$imageName" "$fullInstallExpr"
137-
./pharo --headless "$imageName" eval "$fullInstallExpr"
134+
# Save image after each Metacello package installation
135+
printf "PI: Install command: ./pharo --headless %s eval --save \"%s\"" "$imageName" "$fullInstallExpr"
136+
./pharo --headless "$imageName" eval --save "$fullInstallExpr"
138137
# Remove README.md file
139138
[ ! -e "README.md" ] || rm -f "README.md"
140139
fi

libexec/piHelp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The options include:
3636
init Initialize and fetch PI Pharo package cache
3737
install <pkgname> Install pkgname to the Image found in the current directory.\n\t\tDownload image if not found.
3838
list List Pharo packages found in GitHub.
39-
run Run a Pharo Image.
39+
run Run a Pharo Image.
4040
search <pkgname> Search for pkgname in GitHub.
4141
update Update package directory.
4242
version Show program version.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pi",
3-
"version": "0.6.1",
3+
"version": "0.6.2",
44
"description": "",
55
"main": "index.js",
66
"type": "module",

0 commit comments

Comments
 (0)