Skip to content

Commit

Permalink
Release v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuckal777 committed Oct 2, 2022
1 parent d416703 commit 6440c79
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ jobs:
- run: cargo test --locked --all-features --release
- run: cargo install cargo-deb
- run: cargo deb
- run: cargo install cargo-generate-rpm
- run: cargo generate-rpm
- run: mv target/release/nicator target/release/nicator_${TARGET_VERSION}
- uses: ncipollo/release-action@v1
with:
artifacts: "target/release/nicator_${{ github.event.inputs.version }},target/debian/*.deb"
artifacts: "target/release/nicator_${{ github.event.inputs.version }},target/debian/*.deb,target/generate-rpm/*.rpm"
artifactErrorsFailBuild: true
commit: ${{ github.sha }}
bodyFile: release-notes/${{ github.event.inputs.version }}.md
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.

9 changes: 8 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nicator"
version = "0.2.2"
version = "0.3.0"
authors = ["Erik Schubert <[email protected]>"]
description = "A lightweight encrypting git credential helper"
readme = "README.md"
Expand Down Expand Up @@ -30,3 +30,10 @@ url = "2.3"

[profile.release]
strip="debuginfo"

[package.metadata.generate-rpm]
assets = [
{ source = "target/release/nicator", dest = "/usr/bin/nicator", mode = "0755" },
{ source = "LICENSE", dest = "/usr/share/doc/nicator/LICENSE", doc = true, mode = "0644" },
{ source = "README.md", dest = "/usr/share/doc/nicator/README.md", doc = true, mode = "0644" }
]
4 changes: 2 additions & 2 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Maintainer: Erik "Nuckal777" Schubert <[email protected]>
pkgname=nicator
pkgver=0.2.2
pkgver=0.3.0
pkgrel=1
pkgdesc="A lightweight encrypting git credential helper"
arch=('x86_64')
Expand All @@ -9,7 +9,7 @@ license=('Unlicense')
depends=('gcc-libs')
makedepends=('cargo' 'git')
optdepends=('git: the VCS nicator is made for')
source=("$pkgname"::"git+https://github.com/Nuckal777/nicator#tag=v0.2.2")
source=("$pkgname"::"git+https://github.com/Nuckal777/nicator#tag=v0.3.0")
noextract=()
md5sums=('SKIP')

Expand Down
7 changes: 7 additions & 0 deletions release-notes/v0.3.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- Add `-p/--passphrase` flag to specify the passphrase on the command line
- Add `rpm` package
- Made passphrase prompt hidden input more reliable
- Socket file permission are now applied continuously
- Fix leaking the socket file on SIGTERM while executing `nicator unlock`
- Update dependencies
- This includes two major `clap` updates, so the output of `--help` changed and there may be changes in argument handling

0 comments on commit 6440c79

Please sign in to comment.