Skip to content

Commit

Permalink
ci: update the task names
Browse files Browse the repository at this point in the history
  • Loading branch information
DanySK committed Jan 13, 2025
1 parent 1353aac commit 1a9032f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,9 @@ jobs:
with:
deploy-command: >-
./gradlew
uploadKotlin
uploadPluginMavenToMavenCentralNexus
uploadGitHooksPluginMarkerMavenToMavenCentralNexus
close
dropStagingRepositoryOnMavenCentral
--parallel
uploadAll
closeStaging
dropStaging
should-run-codecov: ${{ runner.os == 'Linux' }}
codecov-token: ${{ secrets.CODECOV_TOKEN }}
should-deploy: >-
Expand Down
8 changes: 2 additions & 6 deletions release.config.mjs
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
const publishCmd = `
git tag -a -f \${nextRelease.version} \${nextRelease.version} -F CHANGELOG.md
git push --force origin \${nextRelease.version}
./gradlew \
uploadKotlin \
uploadPluginMavenToMavenCentralNexus \
uploadGitHooksPluginMarkerMavenToMavenCentralNexus \
releaseStagingRepositoryOnMavenCentral || exit 1
./gradlew uploadAll releaseStagingRepositoryOnMavenCentral || exit 1
./gradlew \
publishPlugins \
-Pgradle.publish.key=$GRADLE_PUBLISH_KEY \
-Pgradle.publish.secret=$GRADLE_PUBLISH_SECRET || exit 2
./gradlew publishKotlinMavenPublicationToGithubRepository || true
./gradlew publishAllToGithubRepository || true
`
import config from 'semantic-release-preconfigured-conventional-commits' with { type: "json" };
config.plugins.push(
Expand Down

0 comments on commit 1a9032f

Please sign in to comment.