Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
pkieltyka committed Feb 13, 2024
1 parent ee76a97 commit 0757352
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 29 deletions.
6 changes: 3 additions & 3 deletions .github/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ release:
## Build from source
```
$ go install github.com/0xsequence/czip/cmd/czip-compressor
$ go install github.com/0xsequence/czip/cmd/czip-compressor@latest
```
## Download binaries
Expand All @@ -59,7 +59,7 @@ brews:
- name: czip-compressor
ids:
- czip-compressor
tap:
repository:
owner: 0xsequence
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
Expand All @@ -69,4 +69,4 @@ brews:
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
homepage: "https://github.com/0xsequence/czip"
description: "czip: EVM Calldata Zip"
license: "MIT"
license: "Apache-2.0"
45 changes: 20 additions & 25 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,27 @@ on:
tags:
- "v*"

# on:
# push:
# branches:
# - "**"

jobs:
# goreleaser:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# with:
# fetch-depth: 0
# - name: Set up Go
# uses: actions/setup-go@v3
# with:
# go-version: 1.22
# - name: Run GoReleaser
# uses: goreleaser/goreleaser-action@v3
# with:
# distribution: goreleaser
# version: latest
# args: release -f .github/.goreleaser.yml --clean
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.22
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release -f .github/.goreleaser.yml --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}

docker:
runs-on: ubuntu-latest
Expand Down
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,20 @@ A companion `czip-compressor` tool is provided to compress calldata. It is a sim

## Install

TODO
```
$ brew tap 0xsequence/tap
$ brew install czip-compressor
$ czip-compressor
```

or

`$ docker run ghcr.io/0xsequence/czip-compressor`

or

`$ go install github.com/0xsequence/czip/compressor/cmd/czip-compressor@latest`


## Usage

Expand Down

0 comments on commit 0757352

Please sign in to comment.