diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index d6aa503..ca7f00d 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -161,12 +161,13 @@ jobs: run: | [ "$SKIP_BUILD" = "true" ] && exit 0 VERSION=${GITHUB_REF_NAME#v} - git checkout main + git config user.name "gitea-actions[bot]" + git config user.email "gitea-actions[bot]@git.farh.net" + git fetch origin main + git checkout origin/main -B main sed -i "s|headlamp/plugin/archive-checksum:.*|headlamp/plugin/archive-checksum: sha256:${CHECKSUM}|" artifacthub-pkg.yml sed -i "s|headlamp/plugin/archive-url:.*|headlamp/plugin/archive-url: \"https://github.com/cpfarhood/headlamp-polaris-plugin/releases/download/${GITHUB_REF_NAME}/headlamp-polaris-plugin-${VERSION}.tar.gz\"|" artifacthub-pkg.yml sed -i "s|^version:.*|version: ${VERSION}|" artifacthub-pkg.yml - git config user.name "gitea-actions[bot]" - git config user.email "gitea-actions[bot]@git.farh.net" git add artifacthub-pkg.yml git diff --cached --quiet || { git commit -m "ci: update artifact hub metadata for ${GITHUB_REF_NAME}" diff --git a/artifacthub-pkg.yml b/artifacthub-pkg.yml index f2febb3..e6dc555 100644 --- a/artifacthub-pkg.yml +++ b/artifacthub-pkg.yml @@ -1,4 +1,4 @@ -version: 0.0.11 +version: 0.1.0 name: headlamp-polaris-plugin displayName: Polaris createdAt: "2026-02-05T19:00:00Z" @@ -28,7 +28,7 @@ maintainers: - name: cpfarhood email: "chris@farhood.org" annotations: - headlamp/plugin/archive-url: "https://github.com/cpfarhood/headlamp-polaris-plugin/releases/download/v0.0.11/headlamp-polaris-plugin-0.0.11.tar.gz" + headlamp/plugin/archive-url: "https://github.com/cpfarhood/headlamp-polaris-plugin/releases/download/v0.1.0/headlamp-polaris-plugin-0.1.0.tar.gz" headlamp/plugin/version-compat: ">=0.26" headlamp/plugin/archive-checksum: sha256:8f5b46dd6a2acae22a7dc5fe7d273b561aa5a7b08b32e029132d23c643b6837c headlamp/plugin/distro-compat: in-cluster diff --git a/package-lock.json b/package-lock.json index 4711ced..2752048 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "headlamp-polaris-plugin", - "version": "0.0.9", + "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "headlamp-polaris-plugin", - "version": "0.0.9", + "version": "0.1.0", "devDependencies": { "@kinvolk/headlamp-plugin": "^0.13.0" } diff --git a/package.json b/package.json index ec86972..0bc46b5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "headlamp-polaris-plugin", - "version": "0.0.11", + "version": "0.1.0", "description": "Headlamp plugin for Fairwinds Polaris audit results", "scripts": { "start": "headlamp-plugin start",