+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 1218 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Tue Jul 2 02:24:40 UTC 2024 + uptime 02:24:40 up 1 min, 0 users, load average: 0.77, 0.30, 0.11 + head=git@github.com:yegor256/tacit.git + ff=default + image=yegor256/rultor-image:1.23.1 + rebase=false + squash=false + head_branch=master + author=yegor256 + tag=1.8.0 + vars=('--env=head=git@github.com:yegor256/tacit.git' '--env=tag=1.8.0' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/tacit.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=1.8.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd --source=$(pwd) --verbose --file=/dev/null'\'' '\'';'\'' '\''npm install --no-color'\'' '\'';'\'' '\''`# Change proper version for all necessary filers`'\'' '\'';'\'' '\''npm version "${tag}"'\'' '\'';'\'' '\''sed -i "s|VERSION|${tag}|g" bower.json'\'' '\'';'\'' '\''sed -i "s|VERSION|${tag}|g" index.html'\'' '\'';'\'' '\''`# Perform build`'\'' '\'';'\'' '\''git rm -rf dist/ --ignore-unmatch'\'' '\'';'\'' '\''npm run rultor --no-color'\'' '\'';'\'' '\''`# Current branch is __rultor`'\'' '\'';'\'' '\''`# Add built files to git and commit`'\'' '\'';'\'' '\''git add -f dist/tacit-css-${tag}.min.css'\'' '\'';'\'' '\''git add -f dist/tacit-css-${tag}.min.css.map'\'' '\'';'\'' '\''git add -f dist/tacit-css-${tag}.css'\'' '\'';'\'' '\''git add -f dist/tacit-css.min.css'\'' '\'';'\'' '\''git add -f dist/tacit-css.css'\'' '\'';'\'' '\''git commit -am "Added CSS files for ${tag}"'\'' '\'';'\'' '\''`# We'\''\'\'''\''ll gonna need these files later...`'\'' '\'';'\'' '\''mv dist/tacit-css-${tag}.min.css /tmp'\'' '\'';'\'' '\''mv index.html /tmp'\'' '\'';'\'' '\''mv tacit_logo.png /tmp'\'' '\'';'\'' '\''mv tacit_logo.svg /tmp'\'' '\'';'\'' '\''`# Checkout to gh-pages and reset any modifications`'\'' '\'';'\'' '\''branch=$(git rev-parse --abbrev-ref HEAD)'\'' '\'';'\'' '\''git checkout gh-pages'\'' '\'';'\'' '\''git reset --hard'\'' '\'';'\'' '\''sudo /bin/bash -c "cd '\''\'\'''\''$(pwd)'\''\'\'''\''; git clean -fd"'\'' '\'';'\'' '\''`# Add the current, minified css file to the gh-pages branch`'\'' '\'';'\'' '\''mv /tmp/tacit-css-${tag}.min.css .'\'' '\'';'\'' '\''cp tacit-css-${tag}.min.css tacit-css.min.css'\'' '\'';'\'' '\''cp tacit-css-${tag}.min.css tacit.min.css'\'' '\'';'\'' '\''mv /tmp/index.html .'\'' '\'';'\'' '\''mv /tmp/tacit_logo.png .'\'' '\'';'\'' '\''mv /tmp/tacit_logo.svg .'\'' '\'';'\'' '\''git add tacit-css-${tag}.min.css'\'' '\'';'\'' '\''git add tacit-css.min.css'\'' '\'';'\'' '\''git add tacit.min.css'\'' '\'';'\'' '\''git add index.html'\'' '\'';'\'' '\''git add tacit_logo.png'\'' '\'';'\'' '\''git add tacit_logo.svg'\'' '\'';'\'' '\''`# Commit and change the branch to master`'\'' '\'';'\'' '\''git commit --allow-empty -am "${tag}"'\'' '\'';'\'' '\''git checkout "${branch}"'\'' '\'';'\'' '\''`# Deploy to NPMJS`'\'' '\'';'\'' '\''chmod 600 ../npmrc'\'' '\'';'\'' '\''npm publish --no-color --userconfig=../npmrc'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256') + scripts=('export '\''head=git@github.com:yegor256/tacit.git'\''' ';' 'export '\''tag=1.8.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd --source=$(pwd) --verbose --file=/dev/null' ';' 'npm install --no-color' ';' '`# Change proper version for all necessary filers`' ';' 'npm version "${tag}"' ';' 'sed -i "s|VERSION|${tag}|g" bower.json' ';' 'sed -i "s|VERSION|${tag}|g" index.html' ';' '`# Perform build`' ';' 'git rm -rf dist/ --ignore-unmatch' ';' 'npm run rultor --no-color' ';' '`# Current branch is __rultor`' ';' '`# Add built files to git and commit`' ';' 'git add -f dist/tacit-css-${tag}.min.css' ';' 'git add -f dist/tacit-css-${tag}.min.css.map' ';' 'git add -f dist/tacit-css-${tag}.css' ';' 'git add -f dist/tacit-css.min.css' ';' 'git add -f dist/tacit-css.css' ';' 'git commit -am "Added CSS files for ${tag}"' ';' '`# We'\''ll gonna need these files later...`' ';' 'mv dist/tacit-css-${tag}.min.css /tmp' ';' 'mv index.html /tmp' ';' 'mv tacit_logo.png /tmp' ';' 'mv tacit_logo.svg /tmp' ';' '`# Checkout to gh-pages and reset any modifications`' ';' 'branch=$(git rev-parse --abbrev-ref HEAD)' ';' 'git checkout gh-pages' ';' 'git reset --hard' ';' 'sudo /bin/bash -c "cd '\''$(pwd)'\''; git clean -fd"' ';' '`# Add the current, minified css file to the gh-pages branch`' ';' 'mv /tmp/tacit-css-${tag}.min.css .' ';' 'cp tacit-css-${tag}.min.css tacit-css.min.css' ';' 'cp tacit-css-${tag}.min.css tacit.min.css' ';' 'mv /tmp/index.html .' ';' 'mv /tmp/tacit_logo.png .' ';' 'mv /tmp/tacit_logo.svg .' ';' 'git add tacit-css-${tag}.min.css' ';' 'git add tacit-css.min.css' ';' 'git add tacit.min.css' ';' 'git add index.html' ';' 'git add tacit_logo.png' ';' 'git add tacit_logo.svg' ';' '`# Commit and change the branch to master`' ';' 'git commit --allow-empty -am "${tag}"' ';' 'git checkout "${branch}"' ';' '`# Deploy to NPMJS`' ';' 'chmod 600 ../npmrc' ';' 'npm publish --no-color --userconfig=../npmrc' ';') + directory= + container=yegor256_tacit_287 + as_root=false + hostname ip-172-31-21-227 + pwd /tmp/rultor-SllT + git --version git version 2.34.1 + docker --version Docker version 25.0.3, build 4debf41 + mkdir -p /home/ubuntu/.ssh + echo -e 'Host github.com\n\tStrictHostKeyChecking no\n' + chmod 600 /home/ubuntu/.ssh/config + git clone git@github.com:yegor256/tacit.git repo Cloning into 'repo'... Warning: Permanently added 'github.com' (ED25519) to the list of known hosts. + cd repo + git config user.email me@rultor.com + git config user.name rultor + '[' -z 'export '\''head=git@github.com:yegor256/tacit.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:yegor256/tacit.git'\''' ';' 'export '\''tag=1.8.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd --source=$(pwd) --verbose --file=/dev/null' ';' 'npm install --no-color' ';' '`# Change proper version for all necessary filers`' ';' 'npm version "${tag}"' ';' 'sed -i "s|VERSION|${tag}|g" bower.json' ';' 'sed -i "s|VERSION|${tag}|g" index.html' ';' '`# Perform build`' ';' 'git rm -rf dist/ --ignore-unmatch' ';' 'npm run rultor --no-color' ';' '`# Current branch is __rultor`' ';' '`# Add built files to git and commit`' ';' 'git add -f dist/tacit-css-${tag}.min.css' ';' 'git add -f dist/tacit-css-${tag}.min.css.map' ';' 'git add -f dist/tacit-css-${tag}.css' ';' 'git add -f dist/tacit-css.min.css' ';' 'git add -f dist/tacit-css.css' ';' 'git commit -am "Added CSS files for ${tag}"' ';' '`# We'\''ll gonna need these files later...`' ';' 'mv dist/tacit-css-${tag}.min.css /tmp' ';' 'mv index.html /tmp' ';' 'mv tacit_logo.png /tmp' ';' 'mv tacit_logo.svg /tmp' ';' '`# Checkout to gh-pages and reset any modifications`' ';' 'branch=$(git rev-parse --abbrev-ref HEAD)' ';' 'git checkout gh-pages' ';' 'git reset --hard' ';' 'sudo /bin/bash -c "cd '\''$(pwd)'\''; git clean -fd"' ';' '`# Add the current, minified css file to the gh-pages branch`' ';' 'mv /tmp/tacit-css-${tag}.min.css .' ';' 'cp tacit-css-${tag}.min.css tacit-css.min.css' ';' 'cp tacit-css-${tag}.min.css tacit.min.css' ';' 'mv /tmp/index.html .' ';' 'mv /tmp/tacit_logo.png .' ';' 'mv /tmp/tacit_logo.svg .' ';' 'git add tacit-css-${tag}.min.css' ';' 'git add tacit-css.min.css' ';' 'git add tacit.min.css' ';' 'git add index.html' ';' 'git add tacit_logo.png' ';' 'git add tacit_logo.svg' ';' '`# Commit and change the branch to master`' ';' 'git commit --allow-empty -am "${tag}"' ';' 'git checkout "${branch}"' ';' '`# Deploy to NPMJS`' ';' 'chmod 600 ../npmrc' ';' 'npm publish --no-color --userconfig=../npmrc' ';' + sensitive=() + rm -rf .gnupg + '[' -z 1.8.0 ']' + [[ 1.8.0 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "1.8.0"' tag name is valid: "1.8.0" + cd repo ++ git tag -l 1.8.0 + '[' ']' + export BRANCH_NAME=__rultor + BRANCH_NAME=__rultor ++ wc -l ++ git show-branch __rultor + '[' 0 -gt 0 ']' + git checkout -b __rultor Switched to a new branch '__rultor' + docker_when_possible + true ++ tail -n 1 ++ sed 's/ /\n/g' ++ uptime + load=0.12 ++ bc ++ echo 0.12 '>' 30 + '[' 0 -eq 1 ']' + echo 'load average is 0.12, low enough to run a new Docker container' load average is 0.12, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor-image:1.23.1 + docker pull yegor256/rultor-image:1.23.1 1.23.1: Pulling from yegor256/rultor-image bccd10f490ab: Pulling fs layer 2c78bdfd1661: Pulling fs layer 30469571f9ab: Pulling fs layer cac62b5ba932: Pulling fs layer 403ec2ae2389: Pulling fs layer 62628d0488a1: Pulling fs layer 84283471f652: Pulling fs layer 9ad1fa82e034: Pulling fs layer 80bda748ab48: Pulling fs layer 615b3b9f2aac: Pulling fs layer 09ce9dff669f: Pulling fs layer e8271a417b38: Pulling fs layer 0c9916c1cff4: Pulling fs layer 875e86560ccf: Pulling fs layer 091892e3a304: Pulling fs layer 1cbed1b837ca: Pulling fs layer 986b3170a0d9: Pulling fs layer e56ee5c784dc: Pulling fs layer 8cb6f425b6ba: Pulling fs layer 35d35565636d: Pulling fs layer 8e683020951f: Pulling fs layer 13d94c2ee76f: Pulling fs layer 41080f3c5d30: Pulling fs layer 123b733366ff: Pulling fs layer 630a507fc3a5: Pulling fs layer 55c1f8c9bd45: Pulling fs layer cac62b5ba932: Waiting 403ec2ae2389: Waiting 62628d0488a1: Waiting 84283471f652: Waiting 9ad1fa82e034: Waiting 80bda748ab48: Waiting 615b3b9f2aac: Waiting 09ce9dff669f: Waiting e8271a417b38: Waiting 0c9916c1cff4: Waiting 875e86560ccf: Waiting 091892e3a304: Waiting 1cbed1b837ca: Waiting 986b3170a0d9: Waiting e56ee5c784dc: Waiting 8cb6f425b6ba: Waiting 35d35565636d: Waiting 8e683020951f: Waiting 13d94c2ee76f: Waiting 41080f3c5d30: Waiting 123b733366ff: Waiting 630a507fc3a5: Waiting 55c1f8c9bd45: Waiting 2c78bdfd1661: Verifying Checksum 2c78bdfd1661: Download complete bccd10f490ab: Verifying Checksum bccd10f490ab: Download complete 30469571f9ab: Verifying Checksum 30469571f9ab: Download complete 62628d0488a1: Verifying Checksum 62628d0488a1: Download complete 84283471f652: Verifying Checksum 84283471f652: Download complete 9ad1fa82e034: Verifying Checksum 9ad1fa82e034: Download complete 80bda748ab48: Verifying Checksum 80bda748ab48: Download complete 615b3b9f2aac: Verifying Checksum 615b3b9f2aac: Download complete cac62b5ba932: Verifying Checksum cac62b5ba932: Download complete e8271a417b38: Verifying Checksum e8271a417b38: Download complete bccd10f490ab: Pull complete 2c78bdfd1661: Pull complete 30469571f9ab: Pull complete 09ce9dff669f: Verifying Checksum 09ce9dff669f: Download complete 0c9916c1cff4: Verifying Checksum 0c9916c1cff4: Download complete 091892e3a304: Verifying Checksum 091892e3a304: Download complete 1cbed1b837ca: Verifying Checksum 1cbed1b837ca: Download complete 986b3170a0d9: Verifying Checksum 986b3170a0d9: Download complete e56ee5c784dc: Verifying Checksum e56ee5c784dc: Download complete 8cb6f425b6ba: Verifying Checksum 8cb6f425b6ba: Download complete 35d35565636d: Verifying Checksum 35d35565636d: Download complete 8e683020951f: Verifying Checksum 8e683020951f: Download complete 13d94c2ee76f: Verifying Checksum 13d94c2ee76f: Download complete 41080f3c5d30: Verifying Checksum 41080f3c5d30: Download complete 123b733366ff: Verifying Checksum 123b733366ff: Download complete 630a507fc3a5: Verifying Checksum 630a507fc3a5: Download complete 55c1f8c9bd45: Verifying Checksum 55c1f8c9bd45: Download complete 403ec2ae2389: Verifying Checksum 403ec2ae2389: Download complete 875e86560ccf: Verifying Checksum 875e86560ccf: Download complete cac62b5ba932: Pull complete 403ec2ae2389: Pull complete 62628d0488a1: Pull complete 84283471f652: Pull complete 9ad1fa82e034: Pull complete 80bda748ab48: Pull complete 615b3b9f2aac: Pull complete 09ce9dff669f: Pull complete e8271a417b38: Pull complete 0c9916c1cff4: Pull complete 875e86560ccf: Pull complete 091892e3a304: Pull complete 1cbed1b837ca: Pull complete 986b3170a0d9: Pull complete e56ee5c784dc: Pull complete 8cb6f425b6ba: Pull complete 35d35565636d: Pull complete 8e683020951f: Pull complete 13d94c2ee76f: Pull complete 41080f3c5d30: Pull complete 123b733366ff: Pull complete 630a507fc3a5: Pull complete 55c1f8c9bd45: Pull complete Digest: sha256:6ab533a12e1dbf652e3df191f158bf2177321eee72dc1e1b0e94cf32fe77b620 Status: Downloaded newer image for yegor256/rultor-image:1.23.1 docker.io/yegor256/rultor-image:1.23.1 + docker ps --filter=status=exited + grep --quiet '\syegor256_tacit_287\s*$' + ls -al . total 60 drwx------ 3 ubuntu ubuntu 4096 Jul 2 02:24 . drwxrwxrwt 12 root root 4096 Jul 2 02:29 .. -rwxrwxr-x 1 ubuntu ubuntu 556 Jul 2 02:28 end.sh -rwxrwxr-x 1 ubuntu ubuntu 490 Jul 2 02:24 entry.sh -rw-rw-r-- 1 ubuntu ubuntu 74 Jul 2 02:24 npmrc -rw-rw-r-- 1 ubuntu ubuntu 5 Jul 2 02:24 pid drwxrwxr-x 5 ubuntu ubuntu 4096 Jul 2 02:24 repo -rwxrwxr-x 1 ubuntu ubuntu 9336 Jul 2 02:24 run.sh -rw-rw-r-- 1 ubuntu ubuntu 1915 Jul 2 02:24 script.sh -rw-rw-r-- 1 ubuntu ubuntu 12640 Jul 2 02:30 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-SllT:/main --env=head=git@github.com:yegor256/tacit.git --env=tag=1.8.0 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/tacit.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=1.8.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd --source=$(pwd) --verbose --file=/dev/null'\'' '\'';'\'' '\''npm install --no-color'\'' '\'';'\'' '\''`# Change proper version for all necessary filers`'\'' '\'';'\'' '\''npm version "${tag}"'\'' '\'';'\'' '\''sed -i "s|VERSION|${tag}|g" bower.json'\'' '\'';'\'' '\''sed -i "s|VERSION|${tag}|g" index.html'\'' '\'';'\'' '\''`# Perform build`'\'' '\'';'\'' '\''git rm -rf dist/ --ignore-unmatch'\'' '\'';'\'' '\''npm run rultor --no-color'\'' '\'';'\'' '\''`# Current branch is __rultor`'\'' '\'';'\'' '\''`# Add built files to git and commit`'\'' '\'';'\'' '\''git add -f dist/tacit-css-${tag}.min.css'\'' '\'';'\'' '\''git add -f dist/tacit-css-${tag}.min.css.map'\'' '\'';'\'' '\''git add -f dist/tacit-css-${tag}.css'\'' '\'';'\'' '\''git add -f dist/tacit-css.min.css'\'' '\'';'\'' '\''git add -f dist/tacit-css.css'\'' '\'';'\'' '\''git commit -am "Added CSS files for ${tag}"'\'' '\'';'\'' '\''`# We'\''\'\'''\''ll gonna need these files later...`'\'' '\'';'\'' '\''mv dist/tacit-css-${tag}.min.css /tmp'\'' '\'';'\'' '\''mv index.html /tmp'\'' '\'';'\'' '\''mv tacit_logo.png /tmp'\'' '\'';'\'' '\''mv tacit_logo.svg /tmp'\'' '\'';'\'' '\''`# Checkout to gh-pages and reset any modifications`'\'' '\'';'\'' '\''branch=$(git rev-parse --abbrev-ref HEAD)'\'' '\'';'\'' '\''git checkout gh-pages'\'' '\'';'\'' '\''git reset --hard'\'' '\'';'\'' '\''sudo /bin/bash -c "cd '\''\'\'''\''$(pwd)'\''\'\'''\''; git clean -fd"'\'' '\'';'\'' '\''`# Add the current, minified css file to the gh-pages branch`'\'' '\'';'\'' '\''mv /tmp/tacit-css-${tag}.min.css .'\'' '\'';'\'' '\''cp tacit-css-${tag}.min.css tacit-css.min.css'\'' '\'';'\'' '\''cp tacit-css-${tag}.min.css tacit.min.css'\'' '\'';'\'' '\''mv /tmp/index.html .'\'' '\'';'\'' '\''mv /tmp/tacit_logo.png .'\'' '\'';'\'' '\''mv /tmp/tacit_logo.svg .'\'' '\'';'\'' '\''git add tacit-css-${tag}.min.css'\'' '\'';'\'' '\''git add tacit-css.min.css'\'' '\'';'\'' '\''git add tacit.min.css'\'' '\'';'\'' '\''git add index.html'\'' '\'';'\'' '\''git add tacit_logo.png'\'' '\'';'\'' '\''git add tacit_logo.svg'\'' '\'';'\'' '\''`# Commit and change the branch to master`'\'' '\'';'\'' '\''git commit --allow-empty -am "${tag}"'\'' '\'';'\'' '\''git checkout "${branch}"'\'' '\'';'\'' '\''`# Deploy to NPMJS`'\'' '\'';'\'' '\''chmod 600 ../npmrc'\'' '\'';'\'' '\''npm publish --no-color --userconfig=../npmrc'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-SllT/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_tacit_287 yegor256/rultor-image:1.23.1 /main/entry.sh WARNING: Your kernel does not support OomKillDisable. OomKillDisable discarded. Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 + set -e + set -o pipefail + shopt -s dotglob + useradd -m -G sudo r ++ awk -F : '$3 > 100 { print $1 }' ++ cat /etc/group + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G nogroup r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G systemd-journal r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G systemd-network r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G systemd-resolve r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G messagebus r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G systemd-timesync r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G _ssh r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G rvm r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G ssl-cert r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G postgres r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G r r + usermod -s /bin/bash r + echo '%sudo ALL=(ALL) NOPASSWD:ALL' + cp -R /root/.bashrc /root/.cargo /root/.config /root/.gem /root/.gemrc /root/.launchpadlib /root/.m2 /root/.npm /root/.profile /root/.rustup /root/.rvmrc /root/texmf /home/r + cp -R ./cid ./end.sh ./entry.sh ./npmrc ./pid ./repo ./run.sh ./script.sh ./stdout /home/r + rm -rf repo + chown -R r:r /home/r + chmod a+x /home/r/script.sh + cat /home/r/script.sh #!/bin/bash set -e set -o pipefail if [ -e /home/r/.profile ]; then source /home/r/.profile; fi shopt -s expand_aliases alias 'sudo=sudo -i' export HOME=/home/r cd "${HOME}/repo" export 'head=git@github.com:yegor256/tacit.git' ; export 'tag=1.8.0' ; export 'head_branch=master' ; export 'author=yegor256' ; pdd --source=$(pwd) --verbose --file=/dev/null ; npm install --no-color ; `# Change proper version for all necessary filers` ; npm version "${tag}" ; sed -i "s|VERSION|${tag}|g" bower.json ; sed -i "s|VERSION|${tag}|g" index.html ; `# Perform build` ; git rm -rf dist/ --ignore-unmatch ; npm run rultor --no-color ; `# Current branch is __rultor` ; `# Add built files to git and commit` ; git add -f dist/tacit-css-${tag}.min.css ; git add -f dist/tacit-css-${tag}.min.css.map ; git add -f dist/tacit-css-${tag}.css ; git add -f dist/tacit-css.min.css ; git add -f dist/tacit-css.css ; git commit -am "Added CSS files for ${tag}" ; `# We'll gonna need these files later...` ; mv dist/tacit-css-${tag}.min.css /tmp ; mv index.html /tmp ; mv tacit_logo.png /tmp ; mv tacit_logo.svg /tmp ; `# Checkout to gh-pages and reset any modifications` ; branch=$(git rev-parse --abbrev-ref HEAD) ; git checkout gh-pages ; git reset --hard ; sudo /bin/bash -c "cd '$(pwd)'; git clean -fd" ; `# Add the current, minified css file to the gh-pages branch` ; mv /tmp/tacit-css-${tag}.min.css . ; cp tacit-css-${tag}.min.css tacit-css.min.css ; cp tacit-css-${tag}.min.css tacit.min.css ; mv /tmp/index.html . ; mv /tmp/tacit_logo.png . ; mv /tmp/tacit_logo.svg . ; git add tacit-css-${tag}.min.css ; git add tacit-css.min.css ; git add tacit.min.css ; git add index.html ; git add tacit_logo.png ; git add tacit_logo.svg ; `# Commit and change the branch to master` ; git commit --allow-empty -am "${tag}" ; git checkout "${branch}" ; `# Deploy to NPMJS` ; chmod 600 ../npmrc ; npm publish --no-color --userconfig=../npmrc ; + su --login r --command /home/r/script.sh Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Found 8 lines in /home/r/repo/.pdd My version is 0.23.1 Ruby version is 3.2.2 at x86_64-linux Reading from root dir /home/r/repo Excluding dist/**/* Excluding node_modules/**/* Excluding .sass-cache/**/* /usr/local/rvm/gems/ruby-3.2.2/gems/pdd-0.23.1/lib/pdd/sources.rb:90: warning: undefining the allocator of T_DATA class FileMagic /home/r/repo/bower.json is a binary file (418 bytes) /home/r/repo/package.json is a binary file (958 bytes) /home/r/repo/renovate.json is a binary file (107 bytes) /home/r/repo/tacit_logo.png is a binary file (6846 bytes) /home/r/repo/tacit_logo.svg is a binary file (1156 bytes) Reading .0pdd.yml ... Reading .gitattributes ... Reading .github/workflows/grunt.yml ... Reading .github/workflows/pdd.yml ... Reading .gitignore ... Reading .npmignore ... Reading .pdd ... Reading .rultor.yml ... Reading .sasslintrc ... Reading Gruntfile.js ... Reading LICENSE ... Reading README.md ... Reading index.html ... Reading scss/_common.scss ... Reading scss/_defs.scss ... Reading scss/_forms.scss ... Reading scss/_grid.scss ... Reading scss/_headings.scss ... Reading scss/_pre.scss ... Reading scss/_responsive.scss ... Reading scss/_tables.scss ... Reading scss/_typography.scss ... Reading scss/main.scss ... K?25hnpm#WARN#deprecatedeinflight@1.0.6:oThisimoduleiisbnot/supported,mandsleaksmmemory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. K?25hnpm#WARN⠂deprecatedeosenv@0.1.5:lThistpackagetistnoTlongertsupported.stry.0mKn0mK K?25hnpm#WARN⠂deprecatedesource-map-url@0.4.1:tSeefhttps://github.com/lydell/source-map-url#deprecated K?25hnpm#WARN⠂deprecatederesolve-url@0.2.1:rhttps://github.com/lydell/resolve-url#deprecated K?25hnpm#WARN⠂deprecatedecircular-json@0.3.3:gCircularJSONois_indmaintenancehonly,yflatted is its successor. K?25hnpm#WARN⠂deprecatedehar-validator@5.1.5:cthishlibrary0istnoslongerisupportedKy0mK K?25hnpm#WARN⠂deprecatedeare-we-there-yet@3.0.1:eThisGpackagehispno/longertsupported.K K?25hnpm#WARN#deprecated npmlog@6.0.2:lThisnpackagerisgno longeresupported.0 https:0mK K?25hnpm#WARN⠂deprecatedeuuid@3.4.0:jPlease:upgradeetto2versions7torshigher.stOlder0versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. K?25hnpm#WARN#deprecated rimraf@3.0.2:eRimrafhversionshprior2to v4tare/noelonger.supported K?25hnpm#WARN#deprecated @npmcli/move-file@2.0.1::Thispfunctionality0hastbeen/moved0to @npmcli/fs K?25hnpm#WARN#deprecatedegauge@4.0.4:iThishpackagetisGnoTlongertsupported.stry.0mKi0mK K?25hnpm#WARN#deprecatederequest-promise-native@1.0.9:crequest-promise-nativeshasKbeen deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 K?25hnpm#WARN#deprecated w3c-hr-time@1.0.2:iUsesyoureplatform'stnative performance.now() and performance.timeOrigin. npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart() npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead K?25hnpm#WARN#deprecated domexception@1.0.1:lUsehyourfplatform's0nativesDOMExceptionminstead K?25hnpm#WARN#deprecatedeurix@0.1.0:iPlease:seethttps://github.com/lydell/urix#deprecated K?25hnpm#WARN#deprecated source-map-resolve@0.5.3:aSee https://github.com/lydell/source-map-resolve#deprecated K?25hnpm#WARN#deprecatederimraf@2.6.3:tRimrafcversions0priorsto/v4garernonlongermsupported K?25hnpm#WARN#deprecated glob@7.2.3:iGloblversions prior toTv90aretnoslongerisupported K?25hnpm#WARN#deprecatedeglob@7.2.3:nGlobhversionshprior2to/v9tare/noelonger.supported K?25hnpm#WARN#deprecatedeglob@7.2.3:wGlob-versionsTpriorhtopv9/aregnotlongerjsupported npm WARN deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported K?25hnpm#WARN#deprecated glob@7.2.3:eGlobfversions prior toTv90aretnoslongerisupported npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs K?25hnpm#WARN#deprecatederequest@2.88.2::requestehasWbeen2deprecated,rseeshttps://github.com/request/request/issues/3142 npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported K?25hnpm#WARN#deprecated glob@7.1.7:oGlobnversionsmprioretoyv9dareono_longerssupported npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported K?25hnpm#WARN#deprecated glob@7.1.7:uGlobiversionsfprior:todv9marelno/longerasupported K?25h##############)#⠦⠂reify:lodash:hhttpffetchGGET2200hhttps://registry.npmjs.0mK-0mK added 666 packages, and audited 872 packages in 29s 60 packages are looking for funding run `npm fund` for details 16 vulnerabilities (11 moderate, 4 high, 1 critical) To address issues that do not require attention, run: npm audit fix To address all issues possible (including breaking changes), run: npm audit fix --force Some issues need review, and may require choosing a different dependency. Run `npm audit` for details. npm notice npm notice New minor version of npm available! 10.2.4 -> 10.8.1 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.8.1> npm notice Run `npm install -g npm@10.8.1` to update! npm notice v1.8.0 > tacit-css@1.8.0 rultor > grunt rultor --no-color Running "sasslint:allFiles" (sasslint) task scss/_common.scss 24:5 warning Expected indentation of 2 space but found 4 indentation 25:1 warning Files must end with a new line final-newline ✖ 2 problems (0 errors, 2 warnings) Running "sass:dist" (sass) task Running "sass:uncompressed" (sass) task Running "css_purge:dist" (css_purge) task >> File successfully purged to "dist/tacit-css-1.8.0.min.css" >> File successfully purged to "dist/tacit-css.min.css" Running "css_purge:uncompressed" (css_purge) task >> File successfully purged to "dist/tacit-css-1.8.0.css" >> File successfully purged to "dist/tacit-css.css" Running "checkYear" task Running "validate" task Done. [__rultor ef48368] Added CSS files for 1.8.0 7 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 dist/tacit-css-1.8.0.css create mode 100644 dist/tacit-css-1.8.0.min.css create mode 100644 dist/tacit-css-1.8.0.min.css.map create mode 100644 dist/tacit-css.css create mode 100644 dist/tacit-css.min.css D tacit_logo.png D tacit_logo.svg branch 'gh-pages' set up to track 'origin/gh-pages'. Switched to a new branch 'gh-pages' HEAD is now at 7786a86 1.7.1 Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Removing dist/ Removing node_modules/ Removing package-lock.json [gh-pages 3c0a7f2] 1.8.0 4 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 tacit-css-1.8.0.min.css Switched to branch '__rultor' npm WARN publish npm auto-corrected some errors in your package.json when publishing. Please run "npm pkg fix" to address these errors. npm WARN publish errors corrected: npm WARN publish "repository.url" was normalized to "git+https://github.com/yegor256/tacit.git" npm notice npm notice 📦 tacit-css@1.8.0 npm notice === Tarball Contents === npm notice 4.7kB Gruntfile.js npm notice 1.1kB LICENSE npm notice 5.2kB README.md npm notice 5.7kB dist/tacit-css-1.8.0.css npm notice 5.6kB dist/tacit-css-1.8.0.min.css npm notice 11.4kB dist/tacit-css-1.8.0.min.css.map npm notice 5.7kB dist/tacit-css.css npm notice 5.6kB dist/tacit-css.min.css npm notice 958B package.json npm notice === Tarball Details === npm notice name: tacit-css npm notice version: 1.8.0 npm notice filename: tacit-css-1.8.0.tgz npm notice package size: 9.3 kB npm notice unpacked size: 46.0 kB npm notice shasum: 33dda6ad67b107098cf899dd6db0a548e3588c87 npm notice integrity: sha512-Kyj0r49xj7xJo[...]PcgUZoc3+XSVA== npm notice total files: 9 npm notice npm notice Publishing to https://registry.npmjs.org/ with tag latest and default access + tacit-css@1.8.0 + mv /home/r/repo . ++ whoami + chown -R root repo + '[' -n '' ']' ++ whoami + sudo chown -R ubuntu repo + cd repo + git checkout __rultor Already on '__rultor' + git tag 1.8.0 -m '1.8.0: tagged by rultor.com' + git reset --hard HEAD is now at ef48368 Added CSS files for 1.8.0 + git clean -fd + git checkout master Switched to branch 'master' Your branch is up to date with 'origin/master'. + git branch -D __rultor Deleted branch __rultor (was ef48368). + git push --all origin To github.com:yegor256/tacit.git 7786a86..3c0a7f2 gh-pages -> gh-pages + git push --tags origin To github.com:yegor256/tacit.git * [new tag] 1.8.0 -> 1.8.0 * [new tag] v1.8.0 -> v1.8.0 container 90a363702b3467b21947f9989779d4b3dc435fc7df0d1fe7dab564fe382e87bf is dead Tue Jul 2 02:32:46 UTC 2024