mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2026-06-17 08:58:49 +00:00
Compare commits
No commits in common. "main" and "v6.0.2" have entirely different histories.
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@ -28,7 +28,6 @@ jobs:
|
||||
- name: Run Tests
|
||||
run: npm test --if-present
|
||||
- name: Release
|
||||
id: semantic
|
||||
uses: cycjimmy/semantic-release-action@v6
|
||||
with:
|
||||
semantic_version: 24
|
||||
@ -44,11 +43,3 @@ jobs:
|
||||
GIT_COMMITTER_NAME: github-actions
|
||||
GIT_COMMITTER_EMAIL: github-actions@github.com
|
||||
CI: true
|
||||
- name: Update major version tag
|
||||
if: steps.semantic.outputs.new_release_published == 'true'
|
||||
run: |
|
||||
MAJOR="v${{ steps.semantic.outputs.new_release_major_version }}"
|
||||
TAG="v${{ steps.semantic.outputs.new_release_version }}"
|
||||
echo "Updating $MAJOR tag to point to $TAG"
|
||||
git tag -f "$MAJOR" "$TAG"
|
||||
git push -f origin "$MAJOR"
|
||||
|
||||
23
.github/workflows/update-major-tag.yml
vendored
Normal file
23
.github/workflows/update-major-tag.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
name: Update major version tag
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
update-tag:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Update major version tag
|
||||
run: |
|
||||
VERSION="${{ github.event.release.tag_name }}"
|
||||
MAJOR="v$(echo "$VERSION" | sed 's/^v//' | cut -d. -f1)"
|
||||
echo "Updating $MAJOR tag to point to $VERSION"
|
||||
git tag -f "$MAJOR" "$VERSION"
|
||||
git push -f origin "$MAJOR"
|
||||
@ -1,11 +1,3 @@
|
||||
## [6.0.3](https://github.com/easingthemes/ssh-deploy/compare/v6.0.2...v6.0.3) (2026-04-02)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* keep @semantic-release/github plugin for GitHub Releases ([0cffff4](https://github.com/easingthemes/ssh-deploy/commit/0cffff4878a082b939d7fa0db84034a64b498430))
|
||||
* update major version tag as post-release step ([6306dda](https://github.com/easingthemes/ssh-deploy/commit/6306ddad7ccb78a18c3a18668fbb0b9b0adb911f))
|
||||
|
||||
## [6.0.2](https://github.com/easingthemes/ssh-deploy/compare/v6.0.1...v6.0.2) (2026-04-02)
|
||||
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@draganfilipovic/ssh-deploy",
|
||||
"version": "6.0.3",
|
||||
"version": "6.0.2",
|
||||
"description": "Fast NodeJS action to deploy specific directory from `GITHUB_WORKSPACE` to a server via rsync over ssh.",
|
||||
"main": "dist/index.js",
|
||||
"files": [
|
||||
|
||||
Loading…
Reference in New Issue
Block a user