Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

Commit 8129f08

Browse files
Use Github's API to create nightly tags (#4402)
This also makes the script simpler. Context: https://github.com/orgs/community/discussions/26164 Test: Tested on fork
1 parent 7cba265 commit 8129f08

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,12 @@ jobs:
8686
- name: Generate tag name
8787
id: generate-tag-name
8888
run: echo "tag_name=nightly-$(date +%Y-%m-%d)" >> $GITHUB_OUTPUT
89-
- name: Create and push tag
90-
working-directory: ./workspace
91-
run: git tag ${{ steps.generate-tag-name.outputs.tag_name }} && git push origin ${{ steps.generate-tag-name.outputs.tag_name }}
9289
- name: Release
9390
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5 # v1
9491
with:
9592
name: 'Orbit ${{ steps.generate-version-string.outputs.version_string }}'
9693
body: 'This is an automated nightly release of Orbit.'
9794
tag_name: ${{ steps.generate-tag-name.outputs.tag_name }}
95+
target_commitish: ${{ github.sha }}
9896
files: |
9997
*.deb

0 commit comments

Comments
 (0)