Skip to content

Commit

Permalink
chore(release): release hac v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wllfaria committed May 29, 2024
1 parent 05290c4 commit 1eda9b4
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 15 deletions.
41 changes: 27 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,6 @@ on:
release:
types: [published]

env:
CARGO_INCREMENTAL: 0
CARGO_NET_GIT_FETCH_WITH_CLI: true
CARGO_NET_RETRY: 10
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
RUSTFLAGS: -D warnings
RUSTUP_MAX_RETRIES: 10

defaults:
run:
shell: bash

jobs:
upload-assets:
name: ${{ matrix.target }}
Expand Down Expand Up @@ -49,19 +36,45 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install dependencies
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt update
sudo apt-get install -y libssl-dev pkg-config openssl
- name: Set OpenSSL environment variables (Ubuntu)
if: startsWith(matrix.os, 'ubuntu')
run: |
echo "OPENSSL_DIR=/usr" >> $GITHUB_ENV
echo "OPENSSL_INCLUDE_DIR=/usr/include" >> $GITHUB_ENV
echo "OPENSSL_LIB_DIR=/usr/lib" >> $GITHUB_ENV
echo "PKG_CONFIG_PATH=/usr/lib/pkgconfig" >> $GITHUB_ENV
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable

- uses: taiki-e/setup-cross-toolchain-action@v1
with:
target: ${{ matrix.target }}
if: startsWith(matrix.os, 'ubuntu') && !contains(matrix.target, '-musl')

- uses: taiki-e/install-action@cross
if: contains(matrix.target, '-musl')

- name: Install static OpenSSL libraries for musl
if: contains(matrix.target, '-musl')
run: |
sudo apt-get update
sudo apt-get install -y musl musl-dev musl-tools
sudo apt-get install -y libssl-dev libssl-static
- run: echo "RUSTFLAGS=${RUSTFLAGS} -C target-feature=+crt-static" >> "${GITHUB_ENV}"
if: endsWith(matrix.target, 'windows-msvc')

- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: my-bin
bin: hac
target: ${{ matrix.target }}
tar: all
zip: windows
Expand Down
60 changes: 60 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Changelog

## [0.1.0] - 2024-05-29

### Bug Fixes

- Reimplementing horizontal scroll
- Fixing broken tests
- Correctly importing actions
- Weird coloring of status bar
- Fixing delete backwards
- Fixing broken tests for tree traversal
- Fixing screen manager tests failing
- Only showing cursor when editing the uri

### Features

- Starting to implement form to create request
- Initial creation of new requests on schema
- Selection of methods of requests
- Creating new requests
- Scope aware newlines
- Adding scope aware newline above
- Synchronization of requests to file system
- Properly syncing and allowing further edits
- Adding better comments througout the app
- Adding initial CLI interfacing
- Proper extension for collections
- Handling other http methods
- Allow for changing urls
- Correct handling of new collections
- Showing cursor on uri pane
- Displaying status time and size of requests
- Hiding body tab when request method has no body
- Displaying error messages on request
- Chunking error text to multiline
- Synchronization problems are now gone
- Empty state for responses
- Enabling dry run and better readme

### Miscellaneous Tasks

- Updated readme, licensing and getting project ready for use
- Adding contributing guidelines
- Pull request and issue templates
- Initial todos, have to do a lot more
- Renaming project to hac
- Setting up publishing to crates.io
- Setting packages metadata
- Renaming tui to client for publishing

### Refactor

- Changing schemas to collection naming

### Testing

- Testing ascii error art


2 changes: 1 addition & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ gh-release:
mkdir -p ./target/"release-notes-$(convco version)"
git cliff -t "v$(convco version)" --current > ./target/"release-notes-$(convco version)/RELEASE.md"
git push origin "v{{new_version}}"
gh release create "v$(convco version)" --target "$(git rev-parse HEAD)" --title "hac v$(convco version)" -d -F ./target/"release-notes-$(convco version)/RELEASE.md" ./target/"bin-$(convco version)"/*
gh release create "v$(convco version)" --target "$(git rev-parse HEAD)" --title "hac v$(convco version)" -d -F ./target/"release-notes-$(convco version)/RELEASE.md"

0 comments on commit 1eda9b4

Please sign in to comment.