Skip to content

achraf17/artifacts-migration

Repository files navigation

Migrate Artifacts

Migrate Artifacts helps automate migrating artifacts from one repository to another

Pre-requirements

Usage

  1. Clone this project
git clone https://github.com/achraf17/artifacts-migration
  1. Install dependencies
npm install

Update release notes of a project

  1. You will need an access token from github. you can use this link to generate one. PS: repo scope level is enough for this.
  2. Replace the generated token in place of ACCESS_TOKEN on the updateReleaseNotes.js
  3. Update REPO_OWNER, REPO_NAME with the appropriate values.
  4. Update the urls depending on requirements.
  5. Run the script
node updateReleaseNotes.js

Download artifacts

  1. Update list of versions in bintrayDownload.sh
  2. Update the url
  3. Run the script
bash bintrayDownload.sh

Upload the artifacts to cloudsmith

  1. Generate a cloud smith api key and update CLOUDSMITH_API_KEY with it
  2. Update the naming of the files and the summary
  3. Run the script
bash uploadToCloudSmith.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published