Skip to content

Commit

Permalink
Merge pull request #6 from CramBL/version070
Browse files Browse the repository at this point in the history
Version070
  • Loading branch information
CramBL authored Jun 30, 2024
2 parents 3703fcc + d94b1e1 commit a86335e
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 11 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,16 @@ defaults:
shell: bash

jobs:
release-guard:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v2
- name: Check version
run: just --verbose check-version

release:
needs: release-guard
strategy:
matrix:
target:
Expand Down Expand Up @@ -98,13 +107,11 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

release-crates-io:
needs: release-guard
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: extractions/setup-just@v2
- name: Check version
run: just --verbose check-version
- name: Publish
run: cargo publish --token ${{ secrets.CARGO_PUBLISH_TOKEN }}
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog

## [Unreleased]
## 0.07 - 2024-06-30

### Changed

- Moving `qft send ssh` functionality to `qft ssh` and making it similar in syntax to `scp/rsync`.

### Fix

Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "quick-file-transfer"
description = "Transfer files quickly, safely, and painlessly between hosts on a local network"
version = "0.6.0"
version = "0.7.0"
edition = "2021"
readme = "README.md"

Expand Down
5 changes: 2 additions & 3 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ lint-feature-combination *ARGS:

# Run pre-commit and formatting/linting
[group("Code Quality"), no-exit-message]
pre-commit: && check-version
pre-commit:
pre-commit run
cargo fmt
cargo {{check}}
Expand Down Expand Up @@ -126,5 +126,4 @@ ci-lint: \
(check "--verbose") \
(lint "--verbose --all --all-targets -- -D warnings --no-deps") \
(format "-- --check --verbose") \
(doc "--verbose --no-deps") \
check-version \
(doc "--verbose --no-deps")
4 changes: 2 additions & 2 deletions scripts/git.just
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

# Pushes HEAD + latest tag atomically
[group("Git"), no-exit-message]
atomic-push-with-tags TAG=`git describe --tags --abbrev=0`:
git push --atomic origin master {{TAG}}
atomic-push-with-tags BRANCH=`git branch --show-current` TAG=`git describe --tags --abbrev=0`:
git push --atomic origin {{BRANCH}} {{TAG}}

[group("Git"), no-exit-message]
annotated-tag-version VERSION MSG:
Expand Down

0 comments on commit a86335e

Please sign in to comment.