Skip to content

Instantly share code, notes, and snippets.

@findepi
Last active January 4, 2023 14:06
Show Gist options
  • Select an option

  • Save findepi/a0bf0cee5b833b6f109cc79a3108380d to your computer and use it in GitHub Desktop.

Select an option

Save findepi/a0bf0cee5b833b6f109cc79a3108380d to your computer and use it in GitHub Desktop.

Revisions

  1. findepi revised this gist Jan 4, 2023. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions maven-release.md
    Original file line number Diff line number Diff line change
    @@ -4,8 +4,8 @@ mvn clean release:clean && mvn release:prepare
    ```

    ```
    # i guess i have something misconfigured with GPG
    env GPG_TTY=$(tty) mvn release:perform
    # `env GPG_TTY=$(tty)` may help with some sort of GPG problems
    mvn release:perform
    ```

    ```
  2. findepi revised this gist Aug 10, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion maven-release.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@

    ```
    mvn release:clean && mvn release:prepare
    mvn clean release:clean && mvn release:prepare
    ```

    ```
  3. findepi revised this gist Mar 20, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion maven-release.md
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ env GPG_TTY=$(tty) mvn release:perform
    ```

    ```
    open https://oss.sonatype.org/
    open https://oss.sonatype.org/#stagingRepositories
    # then find, close & release the staging repository
    ```

  4. findepi created this gist Mar 20, 2020.
    18 changes: 18 additions & 0 deletions maven-release.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@

    ```
    mvn release:clean && mvn release:prepare
    ```

    ```
    # i guess i have something misconfigured with GPG
    env GPG_TTY=$(tty) mvn release:perform
    ```

    ```
    open https://oss.sonatype.org/
    # then find, close & release the staging repository
    ```

    ```
    git push upstream master the-current-release-tag
    ```