Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 58a1636

Browse filesBrowse files
authored
Merge branch 'main' into kraiouchkine-dev
2 parents 8458865 + 79fa9a2 commit 58a1636
Copy full SHA for 58a1636

File tree

2 files changed

+40
-1
lines changed
Filter options

2 files changed

+40
-1
lines changed

‎.github/workflows/bump-version.yml

Copy file name to clipboard
+33Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: 📦 Bump Workflow
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
new_version:
7+
description: |
8+
The version to update to (eg: 2.6.0 or 2.6.0-dev do not include `v`).
9+
required: true
10+
jobs:
11+
12+
apply-version-bump:
13+
runs-on: ubuntu-latest
14+
name: Apply Version Bump
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Apply Bump
20+
shell: bash
21+
run: |
22+
bash ./scripts/bump_version.sh ${{ github.event.inputs.new_version }}
23+
24+
- uses: actions/checkout@v3
25+
- name: Create Pull Request
26+
uses: peter-evans/create-pull-request@v4
27+
with:
28+
title: "Release Engineering: Version bump to ${{ github.event.inputs.new_version }}."
29+
body: "This PR updates codeql-coding-standards to version ${{ github.event.inputs.new_version }}."
30+
commit-message: "Version bump to ${{ github.event.inputs.new_version }}."
31+
team-reviewers: github/codeql-coding-standards
32+
delete-branch: true
33+
branch: "codeql/version-bump-${{ github.event.inputs.new_version }}"

‎scripts/release/create_draft_release.sh

Copy file name to clipboardExpand all lines: scripts/release/create_draft_release.sh
+7-1Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,13 @@ python3 scripts/release/generate_release_notes.py > "$TEMP_DIR/release_notes_$VE
4545
python3 scripts/release/create_supported_rules_list.py > "$TEMP_DIR/supported_rules_list_$VERSION.md"
4646
python3 scripts/release/create_supported_rules_list.py --csv > "$TEMP_DIR/supported_rules_list_$VERSION.csv"
4747

48-
gh release create "v$VERSION" -d --target "$BRANCH" -F "$TEMP_DIR/release_notes_$VERSION.md" -t "v$VERSION" "$TEMP_DIR/$CODE_SCANNING_VERSIONED_ARTIFACT_NAME" "$TEMP_DIR/supported_rules_list_$VERSION.md" "$TEMP_DIR/supported_rules_list_$VERSION.csv" docs/user_manual.md
48+
echo "Copy Docs to Artifact Directory"
49+
cp docs/user_manual.md "$TEMP_DIR/user_manual_$VERSION.md"
50+
51+
echo "Generating Checksums"
52+
sha256sum $TEMP_DIR/* > "$TEMP_DIR/checksums.txt"
53+
54+
gh release create "v$VERSION" -d --target "$BRANCH" -F "$TEMP_DIR/release_notes_$VERSION.md" -t "v$VERSION" "$TEMP_DIR/$CODE_SCANNING_VERSIONED_ARTIFACT_NAME" "$TEMP_DIR/supported_rules_list_$VERSION.md" "$TEMP_DIR/checksums.txt" "$TEMP_DIR/supported_rules_list_$VERSION.csv" "$TEMP_DIR/user_manual_$VERSION.md"
4955

5056
curl \
5157
-X POST \

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.