Skip to content

Commit

Permalink
fix: change semantic release with docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Agus Makmun committed Mar 9, 2024
1 parent 1071626 commit af4d25c
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 25 deletions.
29 changes: 11 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,19 @@ on:

jobs:
release:
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
name: release
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
cache: npm
node-version: lts/*
- run: npm clean-install
- run: npm audit signatures
# pinned version updated automatically by Renovate.
# details at https://semantic-release.gitbook.io/semantic-release/usage/installation#global-installation
- run: npx semantic-release@21.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout code
uses: actions/checkout@v2

- name: Run Semantic Release with Docker
run: |
docker run \
-e GITHUB_TOKEN=${{ secrets.GH_TOKEN }} \
-v $(pwd):/app \
-w /app \
ghcr.io/semantic-release/semantic-release:latest
upload-to-pypi:
needs: release
Expand Down
2 changes: 1 addition & 1 deletion martor/static/martor/css/martor-admin.min.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Name : Martor v1.6.31
* Name : Martor v1.6.32
* Created by : Agus Makmun (Summon Agus)
* Release date : 09-Mar-2024
* License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
Expand Down
2 changes: 1 addition & 1 deletion martor/static/martor/css/martor.bootstrap.min.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Name : Martor v1.6.31
* Name : Martor v1.6.32
* Created by : Agus Makmun (Summon Agus)
* Release date : 09-Mar-2024
* License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
Expand Down
2 changes: 1 addition & 1 deletion martor/static/martor/css/martor.semantic.min.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Name : Martor v1.6.31
* Name : Martor v1.6.32
* Created by : Agus Makmun (Summon Agus)
* Release date : 09-Mar-2024
* License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
Expand Down
2 changes: 1 addition & 1 deletion martor/static/martor/js/martor.bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Name : Martor v1.6.31
* Name : Martor v1.6.32
* Created by : Agus Makmun (Summon Agus)
* Release date : 09-Mar-2024
* License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
Expand Down
2 changes: 1 addition & 1 deletion martor/static/martor/js/martor.bootstrap.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion martor/static/martor/js/martor.semantic.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Name : Martor v1.6.31
* Name : Martor v1.6.32
* Created by : Agus Makmun (Summon Agus)
* Release date : 09-Mar-2024
* License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
Expand Down
2 changes: 1 addition & 1 deletion martor/static/martor/js/martor.semantic.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit af4d25c

Please sign in to comment.