Skip to content

Commit

Permalink
Merge pull request #3 from Yakiyo/dev
Browse files Browse the repository at this point in the history
dev
  • Loading branch information
Yakiyo committed Jun 14, 2023
2 parents cc1294c + b126881 commit ea8c19c
Show file tree
Hide file tree
Showing 27 changed files with 1,125 additions and 177 deletions.
24 changes: 23 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,33 @@ jobs:
toolchain: nightly
components: rustfmt

- name: Install Dart
uses: dart-lang/setup-dart@v1.3
with:
sdk: stable

- name: Code Quality Check
run: cargo fmt --check

- name: Tests
run: cargo test

- name: Pre Release script
run: dart run tools/pre-release.dart

- name: Publish to crates.io
run: cargo publish --token ${{ env.CARGO_TOKEN }}
run: cargo publish --token ${{ env.CARGO_TOKEN }} --allow-dirty

- name: Post Release script
run: dart run tools/post-release.dart

- name: Setup git config
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- name: Commit
run: |
git add .
git commit -m "chore: Bump version and update changelog"
git push origin master
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,5 @@
# Dart builds
.dart_tool/

# Pub lock file
pubspec.lock

# Test dumps
image.png
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# 0.1.1 (Unreleased)
- Support aliases. Aliases can be created with the `alias` subcommand and removed via `unalias`
- Better version handling. Most commands can now take aliases instead of versions as input (i.e. the uninstall and use command). Semver Versions can now also be followed by a `v` in the start without causing issues.
- Better `list` command. List command now prints all associated aliases beside the version names
- Removed spinners. It was only used in the install command for two lines. Unnecessary bloat
- Better panic handling. Instead of the messy error message from compiler, panics now print a nice message advicing users to file an issue and also prints the error to a log file. Uses [`human-panic`](https://docs.rs/human-panic/latest/human_panic/) create for this.
- On new installation, if no `default` version exists, the newly installed one is tagged as default.
- `Default` subcommand. Can be used to set or view the current default version.

# 0.1.0
- Initial version
Loading

0 comments on commit ea8c19c

Please sign in to comment.