File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 files : |
3030 LICENSE.md
3131 bin/*
32-
33- - name : Set as latest release
34- uses : " marvinpinto/action-automatic-releases@latest"
35- with :
36- repo_token : " ${{ secrets.GITHUB_TOKEN }}"
37- automatic_release_tag : " latest"
38- prerelease : false
39- title : " Latest Build"
40- files : |
41- LICENSE.md
42- bin/*
Original file line number Diff line number Diff line change @@ -348,11 +348,11 @@ func main() {
348348
349349 // Print information
350350 if version {
351- os .Printf ("" , "Compactor version 0.1.1 \n " )
351+ os .Printf ("" , "Compactor version 0.1.2 \n " )
352352 return
353353 }
354354
355- os .Printf (os .Purple , ":::| COMPACTOR - 0.1.1 |:::\n " )
355+ os .Printf (os .Purple , ":::| COMPACTOR - 0.1.2 |:::\n " )
356356 os .Printf (os .Notice , "[INFO] Files source folder is %s\n " , options .Source .Path )
357357 os .Printf (os .Notice , "[INFO] Files destination folder is %s\n " , options .Destination .Path )
358358
Original file line number Diff line number Diff line change 33set -e
44set -u
55
6- echo " Installing compactor..."
6+ VERSION=" v0.1.2"
7+ REPOSITORY=" https://github.com/mateussouzaweb/compactor"
8+ BINARY=" ${REPOSITORY} /releases/download/${VERSION} /compactor"
9+
10+ echo " [INFO] Installing compactor and dependencies..."
711
812# Install dependencies
913if [[ $( node -v) == " " ]]; then
@@ -21,8 +25,7 @@ for i in "${p[@]}"; do
2125done
2226
2327# Install compactor
24- REPOSITORY=" https://github.com/mateussouzaweb/compactor/releases/download/latest"
25- sudo wget $REPOSITORY /compactor -O /usr/local/bin/compactor
28+ sudo wget $BINARY -O /usr/local/bin/compactor
2629sudo chmod +x /usr/local/bin/compactor
2730
28- echo " Compactor installed!"
31+ echo " [INFO] Compactor ${VERSION} installed!"
You can’t perform that action at this time.
0 commit comments