Skip to content

Commit

Permalink
v0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mrl5 committed Feb 26, 2022
1 parent 7ed3a04 commit a8f4274
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 6 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## [0.3.1](https://github.com/mrl5/vulner/compare/v0.3.0...v0.3.1) (2022-02-26)


### Bug Fixes

* adapter for apache http server ([e28c04a](https://github.com/mrl5/vulner/commit/e28c04ac1b08ccd6e2c89e692e421ba97dcaa970))



# [0.3.0](https://github.com/mrl5/vulner/compare/v0.2.0...v0.3.0) (2022-02-22)


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 crates/cpe-tag/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cpe-tag"
version = "0.1.1"
version = "0.1.2"
authors = ["mrl5"]
edition = "2021"
description = "Generates valid NVD CPEs"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vulner",
"version": "0.3.0",
"version": "0.3.1",
"description": "Vulner internal scripts",
"license": "MPL-2.0",
"author": "mrl5",
Expand Down
8 changes: 5 additions & 3 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ main() {
yarn install --frozen-lockfile
git checkout -b $(uuidgen --random)
bump_version
git_push $remote
git_prep_push $remote
}

cleanup() {
Expand Down Expand Up @@ -49,15 +49,17 @@ bump_version() {
cargo workspaces version \
--include-merged-tags \
--no-git-commit $recommended_bump
git add -u crates/ Cargo.lock
yarn version --$recommended_bump
}

git_push() {
git_prep_push() {
local remote="$1"
local tag=v$(get_current_version)
local branch=release-$tag
git branch -m $branch
git push $remote $branch $tag
echo "remeber to:
git push $remote $branch $tag"
}

get_current_version() {
Expand Down

0 comments on commit a8f4274

Please sign in to comment.