Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

Commit 1caf00f

Browse files
authored
revert versioning.yml (#367)
<!-- This is an auto-generated comment: release notes by openai --> ### Summary by OpenAI **Revert**: The changes made to the `versioning.yml` file in the `.github/workflows` directory have been reverted. > 🔄 A circle turns, a cycle complete, > > Back to old paths, our steps retreat. > > In code's vast sea, a change reversed, > > To prior states, our course traversed. 🚀 <!-- end of auto-generated comment: release notes by openai -->
1 parent f640f42 commit 1caf00f

File tree

1 file changed

+6
-30
lines changed

1 file changed

+6
-30
lines changed

.github/workflows/versioning.yml

+6-30
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,13 @@
1-
name: Update latest tag
1+
name: Tag latest
22

33
on:
44
release:
5-
types: [published]
5+
types: [published, edited]
66

77
jobs:
8-
update-latest-tag:
9-
runs-on: ubuntu-latest
8+
actions-tagger:
9+
runs-on: windows-latest
1010
steps:
11-
- name: Checkout code
12-
uses: actions/checkout@v3
13-
14-
- name: Setup git user
15-
run: |
16-
git config user.name "github-actions"
17-
git config user.email "[email protected]"
18-
19-
- name: Fetch all tags
20-
run: git fetch --tags
21-
22-
- name: Move latest tag to current commit
23-
run: |
24-
git tag -d latest || true
25-
git tag latest
26-
git push origin :refs/tags/latest
27-
git push origin --tags
28-
29-
- name: Create a GitHub release for the latest tag
30-
uses: actions/create-release@v1
31-
env:
32-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11+
- uses: Actions-R-Us/actions-tagger@latest
3312
with:
34-
tag_name: latest
35-
release_name: Release ${{ github.ref }}
36-
draft: false
37-
prerelease: false
13+
publish_latest_tag: true

0 commit comments

Comments
 (0)