Skip to content

Commit f5a6214

Browse files
committed
bump version to 2.2.4
Signed-off-by: Marc Crébassa <[email protected]>
1 parent 9986501 commit f5a6214

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

.github/workflows/tests_and_release.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,10 @@ jobs:
1919
uses: actions/checkout@v5
2020
with:
2121
fetch-depth: 2
22-
- name: 'Get Previous tag'
23-
id: previoustag
24-
uses: "WyriHaximus/github-action-get-previous-tag@v1"
25-
with:
26-
fallback: 9.9.9.9
2722

2823
- name: Check if 'version' has changed in galaxy.yml
2924
id: check-galaxy-version
3025
shell: bash
31-
env:
32-
current_version: ${{ steps.previoustag.outputs.tag }}
3326
run: |
3427
compare_semver() {
3528
version_test=(${1//./ })
@@ -46,7 +39,8 @@ jobs:
4639
return 1
4740
}
4841
set -x
49-
galaxy_version=$(git diff HEAD~ HEAD -- galaxy.yml | grep 'version:' || true | awk '{ print $2}')
42+
current_version=$(git diff HEAD~ HEAD -- galaxy.yml | grep '\-version:' | awk '{ print $2}' || true)
43+
galaxy_version=$(git diff HEAD~ HEAD -- galaxy.yml | grep '+version:' | awk '{ print $2}' || true)
5044
if [ -z "$galaxy_version" ]; then
5145
echo "new_version=false" >> $GITHUB_OUTPUT
5246
elif $(compare_semver "$galaxy_version" "$current_version"); then
@@ -59,7 +53,7 @@ jobs:
5953
name: release tests
6054
uses: ./.github/workflows/collection-tests.yml
6155
needs: check_version_change
62-
if: (needs.check_version_change.outputs.new_version == true) && (github.ref_name == 'main')
56+
if: (needs.check_version_change.outputs.new_version == 'true') && (github.ref_name == 'main')
6357
with:
6458
distros: "['debian12', 'debian11', 'ubuntu2204', 'ubuntu2404']"
6559
nc_versions: "['latest', 'nc31', 'nc30']"
@@ -68,13 +62,15 @@ jobs:
6862
name: normal tests
6963
uses: ./.github/workflows/collection-tests.yml
7064
needs: check_version_change
71-
if: (needs.check_version_change.outputs.new_version != true) || (github.ref_name != 'main')
65+
if: (needs.check_version_change.outputs.new_version != 'true') || (github.ref_name != 'main')
7266

7367
tag_release:
7468
name: new-tag
7569
runs-on: ubuntu-latest
7670
needs: large_collection_tests
7771
steps:
72+
- name: Check out the repository
73+
uses: actions/checkout@v5
7874
- name: Detect and tag new version
7975
id: check-version
8076
uses: salsify/action-detect-and-tag-new-version@v2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ You can also include it in a `requirements.yml` file and install it via `ansible
7777
---
7878
collections:
7979
- name: nextcloud.admin
80-
version: 2.2.3
80+
version: 2.2.4
8181
```
8282
8383
### Using modules from the Nextcloud Collection in your playbooks

galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace: nextcloud
99
name: admin
1010

1111
# The version of the collection. Must be compatible with semantic versioning
12-
version: 2.2.3
12+
version: 2.2.4
1313

1414
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
1515
readme: README.md

0 commit comments

Comments
 (0)