nodejs-nodemon/nodemon-tarball.sh
Honza Horak e09a596752 Replace whole repo with latest content from branch stream-nodejs-18-rhel-8.8.0
Content corresponds with RHEL dist-git commit 30f5311
2023-05-16 21:21:46 +02:00

8 lines
303 B
Bash

#!/bin/sh
version=$(rpm -q --specfile --qf='%{version}\n' nodejs-nodemon.spec | head -n1)
wget https://registry.npmjs.org/nodemon/-/nodemon-$version.tgz
tar -zxf nodemon-$version.tgz
cd package
npm install --production && rm -rf Dockerfile && cd .. && tar -zcf nodemon-v$version-bundled.tar.gz package