aboutsummaryrefslogtreecommitdiff
path: root/.crow/release.yml
diff options
context:
space:
mode:
authorGrace Yoder <grace_yoder@outlook.com>2026-06-24 18:15:37 -0600
committerGrace Yoder <grace_yoder@outlook.com>2026-06-25 16:42:38 -0600
commit62f89fe05bd3e805bf72728a551fc49dbf88cae2 (patch)
treea2d2e4ddd291f04928abbae5e4a31204c5068219 /.crow/release.yml
parentd7feea3f86358bea2fc3c2c15875706183530d58 (diff)
feat: crow ci
Diffstat (limited to '.crow/release.yml')
-rw-r--r--.crow/release.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.crow/release.yml b/.crow/release.yml
new file mode 100644
index 0000000..3770f56
--- /dev/null
+++ b/.crow/release.yml
@@ -0,0 +1,23 @@
+# This file is a bit of a hack in order to run the real release CI
+when:
+ - event: push
+ branch: ${CI_REPO_DEFAULT_BRANCH}
+
+clone:
+ git:
+ image: codefloe.com/crow-plugins/clone:1.1.0
+ settings:
+ tags: true
+
+
+steps:
+ - name: retag-latest
+ image: alpine:3.20
+ environment:
+ FORGEJO_TOKEN:
+ from_secret: forgejo_token
+ commands:
+ - apk add --no-cache git
+ - git remote set-url origin "https://oauth2:$${FORGEJO_TOKEN}@$${CI_FORGE_URL#https://}/$${CI_REPO}.git"
+ - git tag -f latest
+ - git push -f origin latest