Skip to content

Commit

Permalink
Prepare repository for VAST v3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiklohmann committed Mar 20, 2023
1 parent d7cb239 commit 98ceb44
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 6 deletions.
1 change: 0 additions & 1 deletion changelog/unreleased/bug-fixes/3026.md

This file was deleted.

1 change: 1 addition & 0 deletions changelog/v3.0.2/bug-fixes/3026.md
@@ -0,0 +1 @@
VAST no longer miscalculates the `rebuild` metrics.
2 changes: 1 addition & 1 deletion python/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyvast"
version = "3.0.1"
version = "3.0.2"
description = "A security telemetry engine for detection and response"
authors = ["Tenzir <engineering@tenzir.com>"]
maintainers = ["Tenzir <engineering@tenzir.com>"]
Expand Down
13 changes: 13 additions & 0 deletions scripts/prepare-release
Expand Up @@ -60,6 +60,19 @@ echo -E "${version_json}" > version.json
if [[ "${new_version}" != *"-rc"* ]]; then
perl -i -pe "s/${last_version}/${new_version}/g" "${source_dir}/README.md"
pushd "${source_dir}/web"
# In the documentation on vast.io we tag using the major and minor version
# only, ignoring the patch version. This means that for a patch version we
# must override the existing release, which per the Docusaurus docs[^1] is
# possible by deleting the existing version and then cutting it again. Since
# deleting a non-existing version is a no-op we just always do that.
# ^1: https://docusaurus.io/docs/versioning#deleting-an-existing-version
#
# This bit removes the already tagged version:
jq "map(select(. != \"${new_version_major_minor}\"))" < versions.json > versions.json.tmp
mv -f versions.json.tmp versions.json
rm -rf "versioned_docs/version-${new_version_major_minor}"
rm -rf "versioned_sidebars/version-${new_version_major_minor}-sidebars.json"
# And this actually cuts a new docs version:
yarn install --frozen-lockfile
yarn docusaurus docs:version "${new_version_major_minor}"
popd
Expand Down
4 changes: 2 additions & 2 deletions version.json
Expand Up @@ -4,14 +4,14 @@
"annotated git tag without the leading 'v'.",
"This value gets updated automatically by `scripts/prepare-release`."
],
"vast-version-fallback": "3.0.1",
"vast-version-fallback": "3.0.2",
"vast-version-rev-count_COMMENT": [
"This value stores the ancestor count of the tagged commit, calculated",
"with `git rev-list --count HEAD`, then incremented by 1. This operates",
"under the assumption that the release-preparing PR contains exactly one",
"commit and is rebased before merging."
],
"vast-version-rev-count": 15723,
"vast-version-rev-count": 15733,
"vast-partition-version_COMMENT": [
"The partition version. This number must be bumped alongside the release",
"version for releases that contain major format changes to the on-disk",
Expand Down
4 changes: 2 additions & 2 deletions web/blog/vast-v3.0/index.md
Expand Up @@ -12,7 +12,7 @@ to the the VAST language, making it easy to write down dataflow pipelines that
filter, reshape, aggregate, and enrich security event data. Think of VAST as
security data pipelines plus open storage engine.

[github-vast-release]: https://github.com/tenzir/vast/releases/tag/v3.0.1
[github-vast-release]: https://github.com/tenzir/vast/releases/tag/v3.0.2

<!--truncate-->

Expand Down Expand Up @@ -325,7 +325,7 @@ user-facing changes since the last release.

Here are some entries that we want to highlight:

[changelog]: https://vast.io/changelog#v301
[changelog]: https://vast.io/changelog#v302

### Removing Empty Fields from JSON Output

Expand Down

0 comments on commit 98ceb44

Please sign in to comment.