Move scripts used in CI to the new location (#5198)

* Move CI scripts and update references

* Update paths in .gitlab-ci.yml

* Removed outdated entries from CODEOWNERS
This commit is contained in:
Sergejs Kostjucenko
2022-04-26 08:39:31 +03:00
committed by GitHub
parent 9a840bb12a
commit 631a5db536
61 changed files with 46 additions and 48 deletions
+5 -5
View File
@@ -86,7 +86,7 @@ jobs:
- name: Prepare tooling
run: |
cd polkadot/scripts/changelog
cd polkadot/scripts/ci/changelog
gem install bundler changelogerator:0.9.1
bundle install
changelogerator --help
@@ -115,7 +115,7 @@ jobs:
ls -al $KUSAMA_DIGEST
ls -al $POLKADOT_DIGEST
cd polkadot/scripts/changelog
cd polkadot/scripts/ci/changelog
./bin/changelog ${GITHUB_REF}
ls -al release-notes.md
@@ -126,7 +126,7 @@ jobs:
with:
name: release-notes-context
path: |
polkadot/scripts/changelog/context.json
polkadot/scripts/ci/changelog/context.json
**/*_srtool_output.json
- name: Create draft release
@@ -137,7 +137,7 @@ jobs:
with:
tag_name: ${{ github.ref }}
release_name: Polkadot ${{ github.ref }}
body_path: ./polkadot/scripts/changelog/release-notes.md
body_path: ./polkadot/scripts/ci/changelog/release-notes.md
draft: true
publish-runtimes:
@@ -160,7 +160,7 @@ jobs:
- name: Get runtime version
id: get-runtime-ver
run: |
echo "require './scripts/github/lib.rb'" > script.rb
echo "require './scripts/ci/github/lib.rb'" > script.rb
echo "puts get_runtime(runtime: \"${{ matrix.runtime }}\", runtime_dir: \"$RUNTIME_DIR\")" >> script.rb
echo "Current folder: $PWD"