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

Sign up
Appearance settings

chore: bump MPL and reuse release script from MPL #1963

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
rishav-karanjit merged 17 commits into main from go-releases/reuseScript
Aug 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
a4f400b
reuse MPL script
rishav-karanjit Jul 31, 2025
b228411
Merge branch 'main' into go-releases/reuseScript
rishav-karanjit Aug 4, 2025
6cdd9a2
auto commit
rishav-karanjit Aug 4, 2025
0fb4ef7
Merge branch 'go-releases/reuseScript' of https://github.com/aws/aws-...
rishav-karanjit Aug 4, 2025
7d136fc
Material Provider bump
rishav-karanjit Aug 7, 2025
7cc4399
Merge branch 'main' into go-releases/reuseScript
rishav-karanjit Aug 7, 2025
e22577d
Material Provider bump
rishav-karanjit Aug 8, 2025
9380055
auto commit
rishav-karanjit Aug 8, 2025
ca3f78d
revert bump
rishav-karanjit Aug 11, 2025
ab649f2
auto commit
rishav-karanjit Aug 11, 2025
febfce3
Merge branch 'main' into go-releases/reuseScript
rishav-karanjit Aug 11, 2025
b3acf2a
auto commit
rishav-karanjit Aug 11, 2025
8b89e88
auto commit
rishav-karanjit Aug 11, 2025
5f5a5ec
auto commit
rishav-karanjit Aug 12, 2025
4e81500
bump mpl
rishav-karanjit Aug 12, 2025
0c2ee4e
auto commit
rishav-karanjit Aug 13, 2025
32613bf
auto commit
rishav-karanjit Aug 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 6 additions & 27 deletions .github/workflows/go-release.yml
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ jobs:
- name: Get release directory name
id: release-dir
run: |
chmod +x ./scripts/go-release-automation.sh
RELEASE_DIR_NAME=$(./scripts/go-release-automation.sh get_release_dir_name "${{ github.event.inputs.project-name }}" "${{ github.event.inputs.version }}")
chmod +x ./submodules/MaterialProviders/scripts/go-release-automation.sh
RELEASE_DIR_NAME=$(./submodules/MaterialProviders/scripts/go-release-automation.sh get_release_dir_name "${{ github.event.inputs.project-name }}" "${{ github.event.inputs.version }}")
echo "releaseDirName=$RELEASE_DIR_NAME" >> $GITHUB_OUTPUT

- name: Generate a changelog
Expand All @@ -84,31 +84,10 @@ jobs:

- name: Run Go release automation script
run: |
chmod +x ./scripts/go-release-automation.sh
./scripts/go-release-automation.sh run_release_script ${{ github.event.inputs.project-name }} ${{ github.event.inputs.version }}
chmod +x ./submodules/MaterialProviders/scripts/go-release-automation.sh
./submodules/MaterialProviders/scripts/go-release-automation.sh run_release_script ${{ github.event.inputs.project-name }} ${{ github.event.inputs.version }}

- name: Create Pull Request
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: print diff between development and release directory
run: |
PROJECT_NAME="${{ github.event.inputs.project-name }}"
VERSION="${{ github.event.inputs.version }}"

# Get the release directory name using the sourced function
RELEASE_DIR_NAME="${{ steps.release-dir.outputs.releaseDirName }}"

BRANCH_NAME="golang-release-staging-branch/$RELEASE_DIR_NAME/$VERSION"

DIFF_FILES=$(diff -qr $PROJECT_NAME/runtimes/go/ImplementationFromDafny-go releases/go/$RELEASE_DIR_NAME || true)

# Create PR using GitHub CLI
gh pr create \
--title "chore(go): Release $RELEASE_DIR_NAME Go module $VERSION" \
--body "This PR was automatically created by the Go Release Automation workflow. It releases version $VERSION of the $RELEASE_DIR_NAME Go module. The diff between $PROJECT_NAME/runtimes/go/ImplementationFromDafny-go and releases/go/$RELEASE_DIR_NAME is below:

$DIFF_FILES
" \
--base main \
--head "$BRANCH_NAME" \
--label "golang" \
--draft
echo $DIFF_FILES
2 changes: 1 addition & 1 deletion project.properties
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
projectJavaVersion=3.9.0-SNAPSHOT
mplDependencyJavaVersion=1.11.0-SNAPSHOT
mplDependencyJavaVersion=1.11.1-SNAPSHOT
dafnyVersion=4.9.0
dafnyVerifyVersion=4.9.1
dafnyRuntimeJavaVersion=4.9.0
Expand Down
107 changes: 0 additions & 107 deletions scripts/go-release-automation.sh
View file Open in desktop

This file was deleted.

2 changes: 1 addition & 1 deletion submodules/MaterialProviders
Open in desktop
Loading

AltStyle によって変換されたページ (->オリジナル) /