Skip to content

Commit

Permalink
comments on auto-tag.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
learyjk committed Jul 2, 2024
1 parent b0a2c84 commit d6aabec
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/auto-tag.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# This GitHub Action workflow automates the process of incrementing a version number stored in a .version file
# every time a push is made to the main branch. It performs the following steps:
# 1. Checks out the repository code.
# 2. Reads the current version from the .version file and increments it.
# 3. Commits the updated .version file back to the main branch.
# 4. Creates a new git tag with the incremented version number.
# 5. Pushes the new tag to the remote repository.

# To deploy a new version of code all you have to do is push to the main branch.
# The version number will be incremented and a new tag will be created and pushed to the remote repository.
# Then, in GitHub Releases, you can create a new release based on the tag that was just created.
# Finally, update the CDN script (jsDelivr) to point to the new version number.

name: Auto Increment Version

on:
Expand Down

0 comments on commit d6aabec

Please sign in to comment.