Skip to content

Commit 93c7f1c

Browse files
committed
chore: update
1 parent 1323394 commit 93c7f1c

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/dokploy.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,30 @@ jobs:
132132
${IMAGE_NAME}:${TAG}-amd64 \
133133
${IMAGE_NAME}:${TAG}-arm64
134134
fi
135+
136+
generate-release:
137+
needs: [combine-manifests]
138+
if: github.ref == 'refs/heads/main'
139+
runs-on: ubuntu-latest
140+
steps:
141+
- name: Checkout
142+
uses: actions/checkout@v4
143+
with:
144+
fetch-depth: 0
145+
146+
- name: Get version
147+
id: get_version
148+
run: |
149+
VERSION=$(node -p "require('./apps/dokploy/package.json').version")
150+
echo "version=$VERSION" >> $GITHUB_OUTPUT
151+
152+
- name: Create Release
153+
uses: softprops/action-gh-release@v2
154+
with:
155+
tag_name: v${{ steps.get_version.outputs.version }}
156+
name: Release v${{ steps.get_version.outputs.version }}
157+
generate_release_notes: true
158+
draft: false
159+
prerelease: false
160+
env:
161+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)