mirror of
https://github.com/easingthemes/ssh-deploy
synced 2026-06-03 00:59:40 +08:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2cc5b27bf3 | ||
|
|
066a59ba0d | ||
|
|
0cffff4878 | ||
|
|
6306ddad7c |
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@@ -28,6 +28,7 @@ jobs:
|
|||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: npm test --if-present
|
run: npm test --if-present
|
||||||
- name: Release
|
- name: Release
|
||||||
|
id: semantic
|
||||||
uses: cycjimmy/semantic-release-action@v6
|
uses: cycjimmy/semantic-release-action@v6
|
||||||
with:
|
with:
|
||||||
semantic_version: 24
|
semantic_version: 24
|
||||||
@@ -43,3 +44,11 @@ jobs:
|
|||||||
GIT_COMMITTER_NAME: github-actions
|
GIT_COMMITTER_NAME: github-actions
|
||||||
GIT_COMMITTER_EMAIL: github-actions@github.com
|
GIT_COMMITTER_EMAIL: github-actions@github.com
|
||||||
CI: true
|
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
23
.github/workflows/update-major-tag.yml
vendored
@@ -1,23 +0,0 @@
|
|||||||
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,3 +1,11 @@
|
|||||||
|
## [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)
|
## [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",
|
"name": "@draganfilipovic/ssh-deploy",
|
||||||
"version": "6.0.2",
|
"version": "6.0.3",
|
||||||
"description": "Fast NodeJS action to deploy specific directory from `GITHUB_WORKSPACE` to a server via rsync over ssh.",
|
"description": "Fast NodeJS action to deploy specific directory from `GITHUB_WORKSPACE` to a server via rsync over ssh.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
|||||||
Reference in New Issue
Block a user