Part 1: Use the Git CLI to create and push the Git tags
Step 1: Create a new lightweight tag of the form vMAJOR.MINOR.PATCH.
git clone git@github.com:julia-actions/cache.git
cd cache
git fetch --all --tags
git checkout main
git --no-pager log -1
Take note of the commit hash here.
Now, create a new lightweight tag of the form vMAJOR.MINOR.PATCH.
Replace commit_hash with the commit hash that you obtained from the
git log -1 step.
Replace v2.2.0 with the actual version number that you want to use.
git tag v2.2.0 commit_hash
Step 2: Once you've created the new release, you need to update the v2 tag to point to the new release. For example, suppose that the previous release was v2.1.0, and suppose that you just created the new release v2.2.0. You need to update the v2 tag so that it points to v2.2.0. Here are the commands:
# Create/update the new v2 tag locally, where the new v2 tag will point to the
# release that you created in the previous step.
#
# Make sure to change `v2.2.0` to the actual value for the tag that you just
# created in the previous step.
#
# The `-f` flag forcibly overwrites the old
# `v2` tag (if it exists).
git tag -f v2 v2.2.0
Step 3: Now you need to push the tags:
# Regular-push the new `v2.2.0` tag:
git push origin tag v2.2.0
Force-push the new v2 tag:
git push origin tag v2 --force
Part 2: Create the GitHub Release
Go to the Releases section of this repo and create a new release (using the GitHub web interface).
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps julia-actions/cache from 1 to 2.
Release notes
Sourced from julia-actions/cache's releases.
... (truncated)
Changelog
Sourced from julia-actions/cache's changelog.
... (truncated)
Commits
8608484
Soft fail registry update (#143)e662c42
Expand paths which use tilde (#141)e7913c2
update any cached registries (#140)9ec3abb
Bump actions/checkout from 4.1.6 to 4.1.7 (#137)580d2b6
Fix issues with custom cache eviction (#135)e00c08a
README: document that Bash is required (#132)bb4225b
Devdocs: document the process for making a new release of this action (#128)8dfc57d
Bump actions/checkout from 4.1.4 to 4.1.6 (#133)3190fc8
Fix typo incache-name
note (#130)2185d31
Update README to recommendjulia-actions/cache@v2
(instead of@v1
) (#129)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show