mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00

Incorporated the unbuild step into the prepublish lifecycle workflow Assured that /src files from Unbuild will never be comitted accidentally Updated the uglify-js depencency and prepublish script for module rename
8 lines
381 B
Bash
Executable File
8 lines
381 B
Bash
Executable File
#!/bin/bash
|
|
FOO=${IMAGE_NAME:=`whoami`/gun:git-local}
|
|
BAR=${SOURCE_BRANCH:=`git rev-parse --abbrev-ref HEAD`}
|
|
docker build --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
|
|
--build-arg VCS_REF=`git rev-parse --short HEAD` \
|
|
--build-arg VCS_URL=`git config --get remote.origin.url` \
|
|
--build-arg VERSION=$SOURCE_BRANCH -t $IMAGE_NAME .
|