mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
58 lines
1.3 KiB
YAML
58 lines
1.3 KiB
YAML
---
|
|
name: release-changes
|
|
description: Create release changes diff
|
|
inputs:
|
|
salt-version:
|
|
type: string
|
|
required: true
|
|
description: The Salt version to set prior to creating the release changes
|
|
|
|
env:
|
|
COLUMNS: 160
|
|
|
|
runs:
|
|
using: composite
|
|
|
|
steps:
|
|
|
|
- name: Update Debian changelog
|
|
shell: bash
|
|
run: |
|
|
tools changelog update-deb --draft
|
|
tools changelog update-deb
|
|
|
|
- name: Update RPM changelog
|
|
shell: bash
|
|
run: |
|
|
tools changelog update-rpm --draft
|
|
tools changelog update-rpm
|
|
|
|
- name: Update Release Notes
|
|
shell: bash
|
|
run: |
|
|
tools changelog update-release-notes --draft
|
|
tools changelog update-release-notes
|
|
|
|
- name: Update CHANGELOG.md
|
|
shell: bash
|
|
run: |
|
|
tools changelog update-release-notes --draft
|
|
tools changelog update-release-notes
|
|
|
|
- name: Update CHANGELOG.md
|
|
shell: bash
|
|
run: |
|
|
tools docs man
|
|
|
|
- name: Create release changes diff
|
|
shell: bash
|
|
run: |
|
|
git diff --no-color > salt-${{ inputs.salt-version }}.diff
|
|
|
|
- name: Upload Source Tarball as an Artifact
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: salt-${{ inputs.salt-version }}.diff
|
|
path: salt-${{ inputs.salt-version }}.diff
|
|
retention-days: 7
|
|
if-no-files-found: error
|