Skip to content
Permalink
a18d369859
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
1 contributor

Users who have contributed to this file

executable file 10 lines (6 sloc) 206 Bytes
#!/bin/sh
HOME_DIR=/usr/src/app
VERSION=v$(cat $HOME_DIR/VERSION.txt)
cd $HOME_DIR/build
tar -czvf $HOME_DIR/artifact/$VERSION.tar.gz *
chown $CURRENT_UID:$CURRENT_UID $HOME_DIR/artifact/$VERSION.tar.gz