Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
RhysB committed Jan 1, 2024
1 parent 73411cc commit 95fb861
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,6 @@ jobs:
- name: Build with Maven
run: mvn clean package

- name: Create Release Tag
if: ${{ !endsWith(env.PROJECT_VERSION, '-SNAPSHOT') }}
uses: actions/github-script@v5
with:
script: |
const tagName = '${{ env.PROJECT_VERSION }}';
const ref = 'refs/tags/' + tagName;
await github.git.createRef({
...context.repo,
ref: ref,
sha: context.sha
});
console.log('Tag created: ' + tagName);
- name: Create GitHub Release
if: ${{ !endsWith(env.PROJECT_VERSION, '-SNAPSHOT') }}
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 95fb861

Please sign in to comment.