Skip to content

Commit

Permalink
Merge pull request #8 from Criomby/dev
Browse files Browse the repository at this point in the history
v1.7.0
  • Loading branch information
Criomby authored Mar 12, 2024
2 parents 01bd29c + c089b8b commit 521a601
Show file tree
Hide file tree
Showing 9 changed files with 268 additions and 253 deletions.
25 changes: 16 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Build
name: Release Build
on:
workflow_dispatch:
release:
types: [created]
jobs:
Expand Down Expand Up @@ -40,6 +39,8 @@ jobs:
name: pokeget-macOS-aarch64.tar.gz
command: build
runs-on: ${{ matrix.os }}
env:
GH_TOKEN: ${{ github.token }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -66,10 +67,16 @@ jobs:
cd ./target/${{ matrix.target }}/release
shasum -a 256 ${{ matrix.name }} > ${{ matrix.name }}.sha256
cd -
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: pokeget-${{ matrix.target }}
path: |
./target/${{ matrix.target }}/release/${{ matrix.name }}
./target/${{ matrix.target }}/release/${{ matrix.name }}.sha256
#- name: Upload build artifact
# uses: actions/upload-artifact@v4
# with:
# name: pokeget-${{ matrix.target }}
# path: |
# ./target/${{ matrix.target }}/release/${{ matrix.name }}
# ./target/${{ matrix.target }}/release/${{ matrix.name }}.sha256
- name: Upload release assets
shell: bash
run: |
gh release upload ${{github.event.release.tag_name}} \
./target/${{ matrix.target }}/release/${{ matrix.name }} \
./target/${{ matrix.target }}/release/${{ matrix.name }}.sha256
20 changes: 19 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@
## 1.7.0

### What's new:

**Features:**

- simplified cl interface
- specific form flags removed to only allow form flag with argument: '--form <FORM>'
- `--item` flag can also be short `-i`

**Misc:**
- all features enabled by default (default features)
- better help & error messages
- refactoring cl args & functions
- updated clap crate to v4.5

<br>

## 1.6.0

### What's new:

**Features:**

- Get Pokémon items with `--item [NAME]`
- get Pokémon items with `--item [NAME]`
- can be conditionally compiled with `--features items`
- increases binary size by ~600 KB
- see documentation for more usage info and availabe items
Expand Down
Loading

0 comments on commit 521a601

Please sign in to comment.