A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/SeleniumHQ/selenium/wiki/Releasing-Selenium below:

Releasing Selenium · SeleniumHQ/selenium Wiki · GitHub

While Selenium code is tied to Chrome versions, the goal is to release a minor version of Selenium between Early Stable and Stable release dates as specified in Chromium Release Schedule

Click to see Java prerequisites
  1. Get a Sonatype account. Go through the initial setup if you do not have a user
  2. Request push access via this ticket example.
  3. Install GnuPG. Detailed instructions can be seen here. Follow the section that mentions how to distribute the GnuPG public key. GitHub also has good instructions to generate a key.
  4. Use mvn -emp to encrypt your passphrase
  5. Make sure your ~/.m2/settings.xml contains the following lines in the <servers> and <settingsSecurity> sections:
    <server>
        <id>sonatype-nexus-snapshots</id>
        <username>_your-username-for-oss.sonatype.org_</username>
        <password>_your-password_</password>
    </server>
    <server>
        <id>sonatype-nexus-staging</id>
        <username>_your-username-for-oss.sonatype.org_</username>
        <password>_your-password_</password>
        <settingsSecurity>
            <master>{your_encrypted_passphrase}</master>
        </settingsSecurity>
    </server>
Click to see .NET prerequisites

To release a new version you will need to be registered as an owner on Nuget Obtain an API Key and store it in NUGET_API_KEY environment variable

Click to see Ruby prerequisites

To release a new gem you will need to be registered as a gem owner on rubygems.org Generate an API key from rubygems and store it in GEM_HOST_API_KEY environment variable

Click to see Python prerequisites

To release a new version you need to be registered as a Owner/Maintainer on pypi.python.org Create a token on pypi and put it in your .pypirc file. Make sure you have installed twine and it is available on your PATH (pip install twine)

Click to see JavaScript prerequisites

To release a new version you need to be registered as a Owner/Maintainer on npmjs

  1. Make sure you are authenticated to npmjs.com. You can do that with npm adduser
  2. Obtain an access token from npmjs
  3. Create or edit the .npmrc file in your project directory or home directory (~/.npmrc).
  4. Add a line with your token: //registry.npmjs.org/:_authToken=<YOUR_TOKEN_HERE>.

There is a GitHub Actions Workflow that can be manually executed to make all appropriate updates to files in preparation for a release.

This workflow:

The GitHub workflow adds the commits to the change logs, but these need to be manually updated for format and clarity

  1. Pull the PR gh pr checkout <PR_NUMBER>
  2. Manually edit the change log files
  3. Push the changes git push

When all tests have passed and the change logs have been updated, merge the PR. This will be the commit that gets tagged and released.

Merging the PR will now kick off an additional workflow that will do the tagging, generate a draft Selenium Release with all assets and changes populated, and create a PR with updated API Docs.

This command:

When everything is complete:

For the given language:

./go <language>:version
git commit -am "updating version to nightly"
git push

Whether major or minor release, Java has a few extra steps.

After the sunsetting of OSSRH for maven central publishing, and in the interim, we have decided to utilise the existing OSSRH API that is also available on the new Central Portal:

https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/

After executing ./go java:release, an additional manual step is required to upload the repository from the staging area after publishing, into the new Central Portal to make it available for release.

This requires an authenticated POST request to be sent to the following URL, with your token as authentication: https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/org.seleniumhq

One option is to perform the following: Create a base64 encoded string of your : seperated token e.g. ":"

echo user:password | base64 -

Save the value from that to use as the Authorization Header Bearer in the POST request:

curl -iv -X POST https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/org.seleniumhq -H "Authorization: Bearer <base64 token>"

After that, follow these steps:

  1. Go to https://central.sonatype.com/, log in
  2. Navigate to https://central.sonatype.com/publishing
  3. Look at the content and make sure all jars and signed files are there
  4. Click on "publish"
  5. Wait until the status is "published", which can take several minutes.
Click to see IE Driver release steps
  1. Update Atoms (optional)
  2. Open cpp/IEDriverServer.sln in Visual Studio 2022
  3. In Solution Explorer tab, right click IEDriver/Resource Files/IEDriver.rc & view code
  4. Update version number in 4 places: FILEVERSION, PRODUCTVERSION, FileVersion, ProductVersion
  5. In Solution Explorer tab, right click IEDriverServer/Resource Files/IEDriverServer.rc & view code
  6. Update version number in 4 places: FILEVERSION, PRODUCTVERSION, FileVersion, ProductVersion
  7. Solution Configurations Dropdown in toolbar at top, select Release,
  8. In Solution Platform Dropdown, select x64 & in Build menu, select Build Solution
  9. In Solution Platform Dropdown, select x86 & in Build menu, select Build Solution
  10. In build/cpp/x64/Release/IEDriverServer.exe compress file as IEDriverServer_x64_x.y.z.zip & upload it to Github Release
  11. In build/cpp/Win32/Release/IEDriverServer.exe compress file as IEDriverServer_Win32_x.y.z.zip & upload it to Github Release
Selenium Documentation Repo

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4