From a8ed17493603f84533299b6ef62ff5a93834ea03 Mon Sep 17 00:00:00 2001 From: Mika Ayenson Date: Thu, 7 Nov 2024 12:11:00 -0600 Subject: [PATCH] [FR] Reset package version and push tag via ci (#4260) (cherry picked from commit 2ca746c4b40f7cf192560ef70e41b02fc0b286dd) --- .github/workflows/version-code-and-release.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/version-code-and-release.yml b/.github/workflows/version-code-and-release.yml index b3f90b3245f..135c32e339d 100644 --- a/.github/workflows/version-code-and-release.yml +++ b/.github/workflows/version-code-and-release.yml @@ -86,7 +86,7 @@ jobs: version=$(grep '^version = ' pyproject.toml | cut -d '"' -f2) echo "Detected version: $version" git tag -a "dev-v$version" -m "Release version $version" - git push origin "v$version" + git push origin "dev-v$version" - name: Run Release Drafter uses: release-drafter/release-drafter@v6 diff --git a/pyproject.toml b/pyproject.toml index 10b2b57f8bc..29ab0a0e0b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "detection_rules" -version = "0.1.3" +version = "0.1.2" description = "Detection Rules is the home for rules used by Elastic Security. This repository is used for the development, maintenance, testing, validation, and release of rules for Elastic Security’s Detection Engine." readme = "README.md" requires-python = ">=3.12"