Skip to content

Commit f0fc21d

Browse files
committed
Underline semver API stability.
Signed-off-by: Tobias Wolf <[email protected]> On-behalf-of: SAP <[email protected]>
1 parent 06e1348 commit f0fc21d

File tree

2 files changed

+3
-55
lines changed

2 files changed

+3
-55
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: pre-release
22

33
on:
4-
push:
5-
tags: [ "[0-9]+.[0-9]+.[0-9]+*" ]
4+
push: {}
65

76
env:
87
GIT_CLIFF_VERSION: 2.12.0
@@ -14,61 +13,10 @@ jobs:
1413
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1514
- uses: gardenlinux/python-gardenlinux-lib/.github/actions/setup@main
1615
- run: make docs
17-
- if: ${{ github.ref_name != 'main' }}
18-
name: Upload as artifact
19-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # [email protected]
20-
with:
21-
name: docs
22-
path: _build/
23-
- if: ${{ github.ref_name == 'main' }}
24-
name: Deploy to GitHub Pages
16+
- name: Deploy to GitHub Pages
2517
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
2618
with:
2719
publish_branch: gh-pages
2820
github_token: ${{ secrets.GITHUB_TOKEN }}
2921
publish_dir: _build
3022
force_orphan: true
31-
32-
create-pre-release:
33-
if: ${{ github.ref_name == 'main' }}
34-
runs-on: ubuntu-latest
35-
permissions:
36-
contents: write
37-
38-
steps:
39-
- name: Checkout commit
40-
uses: actions/checkout@v6
41-
with:
42-
sparse-checkout: |
43-
cliff.toml
44-
sparse-checkout-cone-mode: false
45-
- uses: gardenlinux/python-gardenlinux-lib/.github/actions/setup@main
46-
- name: Use cargo cache
47-
id: cache-cargo
48-
uses: actions/cache@v5
49-
with:
50-
path: |
51-
~/.cargo
52-
key: gh-release-${{ runner.os }}-git-cliff-${{ env.GIT_CLIFF_VERSION }}-
53-
restore-keys: gh-release-${{ runner.os }}-git-cliff-${{ env.GIT_CLIFF_VERSION }}-${{ hashFiles('~/.cargo/.crates.toml') }}-
54-
- name: Install git-cliff
55-
if: steps.cache-cargo.outputs.cache-hit != 'true'
56-
run: |
57-
cargo install git-cliff@${GIT_CLIFF_VERSION}
58-
- name: Get the Git tag name
59-
id: get-tag-name
60-
run: echo "tag-name=${GITHUB_REF/refs\/tags\//}" | tee -a "$GITHUB_OUTPUT"
61-
- id: release
62-
name: Create changelog and release
63-
env:
64-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
65-
run: |
66-
gl-gh-release create \
67-
--repo "python-gardenlinux-lib" \
68-
--tag "${{ steps.get-tag-name.outputs.tag-name }}" \
69-
--commit "${{ github.sha }}" \
70-
--name 'python-gardenlinux-lib v${{ steps.get-tag-name.outputs.tag-name }}' \
71-
--latest \
72-
--body "
73-
$(git-cliff -o - --current)
74-
"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Parse features lib
77

88
This library includes tooling to build and distribute [Garden Linux](https://github.com/gardenlinux/gardenlinux).
9-
It is targeted to Garden Linux developers and not meant for end users.
9+
It is targeted to Garden Linux developers and not meant for end users. It follows syntax and intention of `Semantic Versioning <https://www.semver.org>` for provided APIs. Each release reflects the intention and expected impact therefore.
1010

1111
Features:
1212

0 commit comments

Comments
 (0)