Skip to content

Commit

Permalink
[Feature] Setup Script (#12)
Browse files Browse the repository at this point in the history
* Add Release Action

* Update Documentation
  • Loading branch information
furkilic authored Sep 30, 2022
1 parent 185258e commit 813e226
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Release

on:
push:
tags:
- "v*.*.*"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: tar -czf go-wrapper.tar.gz gow gow.cmd .go
- name: Release
uses: softprops/action-gh-release@v1
with:
files: go-wrapper.tar.gz
draft: true
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ first, installed and then used.
Subsequent uses of `gow`/`gow.cmd` use the previously downloaded, specific
version as needed.

## Installation

One-line installation in your project directory

```bash
curl -L0 https://github.com/furkilic/go-wrapper/releases/latest/download/go-wrapper.tar.gz | tar -xvz -f -
```
> _For PowerShell_ you'll need to encapsulate the one-line between `cmd /c "..."`
## Supported Systems

The wrapper should work on various operating systems including
Expand Down

0 comments on commit 813e226

Please sign in to comment.