-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve wazuh-packages bump process using a new script and GH actions #2270
Conversation
.github/workflows/bump-version.yml
Outdated
# shell: bash | ||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete tabs and fix FinalNewLine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in a35cea4
bump_version.py
Outdated
|
||
with open(changelog_md_file, 'w') as file: | ||
file.write(filedata) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete tabs and fix FinalNewLine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in a35cea4
0b5399d
to
b94c86b
Compare
…wazuh-packages into 2243-improve-bump-process
b94c86b
to
d424d3f
Compare
.github/workflows/bump-version.yml
Outdated
bump-version: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please try out checkout@v3
as it uses node16.
bump-version
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
(https://github.com/wazuh/wazuh-packages/actions/runs/5543421039)
- uses: actions/checkout@v2 | |
- uses: actions/checkout@v3 |
More info: https://github.com/actions/checkout.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done 71cbe5f
Description
This PR adds a new script to bump the repository to new versions and a GitHub action workflow to automate the execution of the script.
It is necessary to add merge the workflow into master to be able to execute the action from the actions tab with a
workflow_dispatch
trigger.