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

View File

@ -5,12 +5,12 @@
# Usage: ./repository_bumper.sh <version> # Usage: ./repository_bumper.sh <version>
# Global variables # Global variables
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../../.." && pwd)" 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" LOG_FILE="${DIR}/tools/repository_bumper_$(date +"%Y-%m-%d_%H-%M-%S-%3N").log"
VERSION="" VERSION=""
STAGE="" STAGE=""
FILES_EDITED=() 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() { get_old_version_and_stage() {
local VERSION_FILE="${DIR}/VERSION.json" local VERSION_FILE="${DIR}/VERSION.json"