Updated path

This commit is contained in:
c-bordon 2025-06-05 09:31:25 -03:00
parent 60e29c4c56
commit e2d3e24892
No known key found for this signature in database
GPG Key ID: 4C040368C34BF037
2 changed files with 5 additions and 6 deletions

View File

@ -22,7 +22,6 @@ on:
description: 'Optional identifier for the run'
required: false
type: string
push:
jobs:
bump:
@ -37,8 +36,8 @@ jobs:
CI_COMMIT_EMAIL: 22834044+wazuhci@users.noreply.github.com
CI_GPG_PRIVATE_KEY: ${{ secrets.CI_WAZUHCI_GPG_PRIVATE }}
GH_TOKEN: ${{ secrets.CI_WAZUHCI_BUMPER_TOKEN }}
BUMP_SCRIPT_PATH: tools/github/github-branch-maintenance/repository_bumper.sh
BUMP_LOG_PATH: tools/github/github-branch-maintenance
BUMP_SCRIPT_PATH: tools/repository_bumper.sh
BUMP_LOG_PATH: tools
steps:
- name: Dump event payload

View File

@ -5,12 +5,12 @@
# Usage: ./repository_bumper.sh <version>
# Global variables
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../../.." && pwd)"
LOG_FILE="${DIR}/tools/github/github-branch-maintenance/repository_bumper_$(date +"%Y-%m-%d_%H-%M-%S-%3N").log"
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
LOG_FILE="${DIR}/tools/repository_bumper_$(date +"%Y-%m-%d_%H-%M-%S-%3N").log"
VERSION=""
STAGE=""
FILES_EDITED=()
FILES_EXCLUDED='--exclude="repository_bumper_*.log" --exclude="CHANGELOG.md" --exclude="repository_bumper.sh" -exclude="4_bumper_repository.yml'
FILES_EXCLUDED='--exclude="repository_bumper_*.log" --exclude="CHANGELOG.md" --exclude="repository_bumper.sh" --exclude="4_bumper_repository.yml"'
get_old_version_and_stage() {
local VERSION_FILE="${DIR}/VERSION.json"