Need help with other JFrog products?
Good news! Enterprise-scale distribution is now handled through the robust JFrog Platform.
Please contact us with any questions.
Linking to Packages from External Sites
Bintray also enables you to create links to your packages by generating HTML code that you can embed directly on your own website. The Version Notification Link will help a user watch your package by taking him or her directly to Bintray where he/she can register to receive notifications whenever a new version of your package is uploaded. The Latest Version Download Badge will download the latest version of your package.
To Create a Version Notification Link:
Access the relevant package page.
Click the Version Notification Links button.
A message displays three badges you can select to display on your website, along with the corresponding HTML code needed to embed them.
Select the badge you want to display and then click the Copy to Clipboard button to copy the corresponding HTML text to the clipboard.
Paste the HTML code into the right place in your website source files.
To Create a Latest Version Download Badge:
Access the relevant package page.
Click the Latest Version Badge button.
A message displays the code you need to embed in order to display the badge.
The code is available in Markdown, AsciiDoc and HTML formats. Select the tab for the format you want and then click the Copy to Clipboard button to copy the corresponding code to the clipboard.
Paste the code into the source file representing the place you want to display the badge.
Promoting Through External Accounts
When you create a new version, you may want to tweet about it. You can easily do this from inside the Bintray UI. All the information you need to include in the tweet is already in Bintray.
Note that you will need both a Twitter and Bintray account to do this.
Authorizing Bintray to Tweet
Before you can tweet through the Bintray UI, your Bintray account must be authorized inTwitter to have this access. Use the OAuth protocol to authorize Bintray to access your Twitter account. This process is initiated from Bintray but also requires signing in to Twitter. This process requires that you have a valid account inboth Twitter and Bintray.
To authorize Bintray to access your Twitter account:
Access your user profile and click the Edit button to display the Edit Your Profile page.
In the General form, click the Accounts link.
In the Accounts form, enter your Twitter username in the Twitter User field.
Click the adjacent Link your Twitter account link.
If you are already logged in to Twitter, then Bintray is automatically authorized to access your account, and you are returned to Bintray.
If you are not logged in, Twitter displays a page asking you to sign in to authorize Bintray to use your account.
After signing in Bintray is authorized to access your Twitter account. You are returned to Bintray and a confirmation message is displayed.
You can now begin tweeting from within the Bintray UI.
Tweeting About a New Version
Bintray also provides the option of tweeting about a new version of a package you own, as soon as you publish any file in that version. Ensure that you have authorized Bintray to access your Twitter account first.
To tweet about a new version:
You can tweet about a version as soon as you publish any files in that version. The Tweet icon is located in the notice that appears immediately after you publish a file.
In case you don’t manage to tweet before the notice is dismissed, you can also tweet at any time from the corresponding Version work area of that version’s Package page. Just click the Tweet icon.
Note: The Tweet icon appears next to the newest version that has any published files (the published files themselves do not have to be the ones most recently published).
The "Post a Tweet on Twitter" dialog box opens.
If you are not logged in to your Twitter account, you will have to enter your Twitter username and password in order to log in as you tweet about your release.
Bintray offers some default text with the version and a download link, but this is optional and can be changed.
- Click Sign in and Tweet (or just Tweet if you are already logged in to Twitter).
If your tweet is successful, you will get a confirmation dialog from which you can click a View It on Twitter link to view your tweet.