This repository has been archived by the owner on May 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 344
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from opentracing/release
Adds tag-based publishing to Maven Central
- Loading branch information
Showing
8 changed files
with
343 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright 2016 The OpenTracing Authors | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except | ||
in compliance with the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software distributed under the License | ||
is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | ||
or implied. See the License for the specific language governing permissions and limitations under | ||
the License. | ||
--> | ||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 | ||
http://maven.apache.org/xsd/settings-1.0.0.xsd"> | ||
<servers> | ||
<server> | ||
<id>sonatype</id> | ||
<username>${env.SONATYPE_USER}</username> | ||
<password>${env.SONATYPE_PASSWORD}</password> | ||
</server> | ||
<server> | ||
<id>bintray</id> | ||
<username>${env.BINTRAY_USER}</username> | ||
<password>${env.BINTRAY_KEY}</password> | ||
</server> | ||
<server> | ||
<id>jfrog-snapshots</id> | ||
<username>${env.BINTRAY_USER}</username> | ||
<password>${env.BINTRAY_KEY}</password> | ||
</server> | ||
<server> | ||
<id>github.com</id> | ||
<username>${env.GH_USER}</username> | ||
<password>${env.GH_TOKEN}</password> | ||
</server> | ||
</servers> | ||
</settings> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# OpenTracing Release Process | ||
|
||
This repo uses semantic versions. Please keep this in mind when choosing version numbers. | ||
|
||
1. **Alert others you are releasing** | ||
|
||
There should be no commits made to master while the release is in progress (about 10 minutes). Before you start | ||
a release, alert others on [gitter](https://gitter.im/opentracing/public) so that they don't accidentally merge | ||
anything. If they do, and the build fails because of that, you'll have to recreate the release tag described below. | ||
|
||
1. **Push a git tag** | ||
|
||
The tag should be of the format `release-N.M.L`, for example `release-3.7.1`. | ||
|
||
1. **Wait for Travis CI** | ||
|
||
This part is controlled by [`travis/publish.sh`](travis/publish.sh). It creates a bunch of new commits, bumps | ||
the version, publishes artifacts, and syncs to Maven Central. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.