Skip to content

Instantly share code, notes, and snippets.

View Hoi15A's full-sized avatar
🚀
:)

Austin Hoi15A

🚀
:)
View GitHub Profile
@sualeh
sualeh / how_to_sign_and_release_to_the_central_repository_with_github_actions.md
Last active January 27, 2025 16:26
How to Sign and Release to The Central Repository with GitHub Actions

How to Sign and Release to The Central Repository with GitHub Actions

GitHub allows automated builds using GitHub Actions. A commonly asked question is how to release artifacts (packaged Java jars) built by Maven and Gradle to The Central Repository. The GitHub Actions documentation provides only part of the answer.

So, first, configure your Maven project for staging artifacts to The Central Repository, by reading through Configuring Your Project for Deployment and following those steps. Please make sure that the maven-gpg-plugin is configured to prevent gpg from using PIN entry programs, as follows:

<configuration>
  <gpgArguments>
      <arg>--pinentry-mode</arg>
 loopback
@mrasmus
mrasmus / gist:b133ca537eff7c3ae175
Last active June 16, 2016 07:35
WavTap Uninstaller
#!/bin/bash
# Because WavTap (https://github.com/pje/wavtap) doesn't come with a straightforward way to do it. :\
# Must be run elevated. Mirrors what "make uninstall" does exactly as of June 24, 2014.
osascript -e 'tell application "WavTap"' -e 'quit' -e 'end tell'
rm -rf /Applications/WavTap.app
if [[ "$(kextstat | grep WavTap | grep -v grep)" ]]; then sudo kextunload /System/Library/Extensions/WavTap.kext; fi
rm -rf /System/Library/Extensions/WavTap.kext
rm -rf /Library/Receipts/WavTap*
rm -rf /var/db/receipts/*WavTap.*