Skip to content
Permalink
c26b209628
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
@dmartinez
Latest commit c26b209 May 2, 2024 History
1 contributor

Users who have contributed to this file

executable file 10 lines (6 sloc) 207 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