diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6375667..5c8e31f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} @@ -49,19 +36,32 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + - name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable + + - name: Install dependencies + if: startsWith(matrix.os, 'ubuntu') + run: sudo apt-get install -y libssl-dev + + - name: Set OpenSSL environment variables (Ubuntu) + if: startsWith(matrix.os, 'ubuntu') + run: echo "OPENSSL_DIR=/usr/include/openssl" >> $GITHUB_ENV + - 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') + - 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 diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..44a7112 --- /dev/null +++ b/CHANGELOG.md @@ -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 + + diff --git a/Justfile b/Justfile index 2d7a6f5..48f451b 100644 --- a/Justfile +++ b/Justfile @@ -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"