Skip to content

Commit

Permalink
INIT
Browse files Browse the repository at this point in the history
  • Loading branch information
kayman-mk committed May 8, 2024
1 parent 49cca30 commit 189d90f
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/default_release_callable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
outputs:
version: ${{ steps.release.outputs.version }}
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.4
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/this_linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,3 @@ jobs:
# using stable to be able to quickly switch to a working version in case the current stable is broken
uses: Hapag-Lloyd/Workflow-Templates/.github/workflows/default_linter_callable.yml@stable
secrets: inherit

test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Node.js
run: |
git tag x
git push --tags
16 changes: 16 additions & 0 deletions .github/workflows/this_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,19 @@ jobs:
# using stable to be able to quickly switch to a working version in case the current stable is broken
uses: Hapag-Lloyd/Workflow-Templates/.github/workflows/github_release_callable.yml@stable
secrets: inherit

tag-stable:
runs-on: ubuntu-latest
needs: default

steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.4
with:
fetch-depth: 1
ref: ${{ jobs.default.outputs.version }}

- name: Tag stable
run: |
git tag stable --force
git push --tags --force
2 changes: 2 additions & 0 deletions .release_github_only_auto/.releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ publish:
assets:
- path: "CHANGELOG.md"
label: "Changelog"
- path: "@semantic-release/exec"
publishCmd: "echo \"version=${nextRelease.version}\" > version.env"

success:

Expand Down
2 changes: 2 additions & 0 deletions .release_maven_auto/.releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ publish:
assets:
- path: "CHANGELOG.md"
label: "Changelog"
- path: "@semantic-release/exec"
publishCmd: "echo \"version=${nextRelease.version}\" > version.env"

success:

Expand Down

0 comments on commit 189d90f

Please sign in to comment.