Skip to content

Commit

Permalink
Version 0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mateussouzaweb committed May 28, 2022
1 parent 23b14ce commit 6713463
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 17 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,3 @@ jobs:
files: |
LICENSE.md
bin/*
- name: Set as latest release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: false
title: "Latest Build"
files: |
LICENSE.md
bin/*
4 changes: 2 additions & 2 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,11 +348,11 @@ func main() {

// Print information
if version {
os.Printf("", "Compactor version 0.1.1\n")
os.Printf("", "Compactor version 0.1.2\n")
return
}

os.Printf(os.Purple, ":::| COMPACTOR - 0.1.1 |:::\n")
os.Printf(os.Purple, ":::| COMPACTOR - 0.1.2 |:::\n")
os.Printf(os.Notice, "[INFO] Files source folder is %s\n", options.Source.Path)
os.Printf(os.Notice, "[INFO] Files destination folder is %s\n", options.Destination.Path)

Expand Down
11 changes: 7 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
set -e
set -u

echo "Installing compactor..."
VERSION="v0.1.2"
REPOSITORY="https://github.com/mateussouzaweb/compactor"
BINARY="${REPOSITORY}/releases/download/${VERSION}/compactor"

echo "[INFO] Installing compactor and dependencies..."

# Install dependencies
if [[ $(node -v) == "" ]]; then
Expand All @@ -21,8 +25,7 @@ for i in "${p[@]}"; do
done

# Install compactor
REPOSITORY="https://github.com/mateussouzaweb/compactor/releases/download/latest"
sudo wget $REPOSITORY/compactor -O /usr/local/bin/compactor
sudo wget $BINARY -O /usr/local/bin/compactor
sudo chmod +x /usr/local/bin/compactor

echo "Compactor installed!"
echo "[INFO] Compactor ${VERSION} installed!"

0 comments on commit 6713463

Please sign in to comment.