Skip to content

Conversation

@WojciechMazur
Copy link
Contributor

  • Forward-ports changes to publish_release CI job from release-3.6.1 branch.
    • Fix building SDK archives, don't use build-sdk-packages job that produced artifacts in SNAPSHOT version
    • Fix typos introduced in template (forward port from release-3.6.0)
  • Detect and check version used to publish artifacts:
    • For release builds ensure that version is always matching tag used to trigger CI job
    • For nightly builds ensure that version is following the expected pattern
    • Tested in fork repository for positive and negative test case

@WojciechMazur WojciechMazur merged commit 34f1c54 into scala:main Oct 19, 2024
28 checks passed
@WojciechMazur WojciechMazur deleted the ci/fix-releasing branch October 19, 2024 18:04
WojciechMazur pushed a commit that referenced this pull request Oct 20, 2024
<img width="1032" alt="Screenshot 2024-10-20 at 07 14 49"
src="https://github.com/%3Ca%20href="https://github.com/user-attachments/assets/321ba7ce-9fd2-413c-aec3-14215fbee786">https://github.com/user-attachments/assets/321ba7ce-9fd2-413c-aec3-14215fbee786">


[positive](https://github.com/WojciechMazur/dotty/actions/runs/11416876799/job/31768568868)
test in #21810 also uses `bash` instead of `sh`

Closes #21815
WojciechMazur added a commit to scala/scala3-lts that referenced this pull request Dec 5, 2024
- Forward-ports changes to `publish_release` CI job from `release-3.6.1`
branch.
* Fix building SDK archives, don't use `build-sdk-packages` job that
produced artifacts in SNAPSHOT version
  * Fix typos introduced in template (forward port from `release-3.6.0`)
- Detect and check version used to publish artifacts: 
* For release builds ensure that `version` is always matching tag used
to trigger CI job
* For nightly builds ensure that `version` is following the expected
pattern

[Cherry-picked 34f1c54][modified]
WojciechMazur pushed a commit to scala/scala3-lts that referenced this pull request Dec 5, 2024
<img width="1032" alt="Screenshot 2024-10-20 at 07 14 49"
src="https://github.com/%3Ca%20href="https://github.com/user-attachments/assets/321ba7ce-9fd2-413c-aec3-14215fbee786">https://github.com/user-attachments/assets/321ba7ce-9fd2-413c-aec3-14215fbee786">


[positive](https://github.com/WojciechMazur/dotty/actions/runs/11416876799/job/31768568868)
test in scala#21810 also uses `bash` instead of `sh`

Closes scala#21815
[Cherry-picked 022b1ff]
WojciechMazur added a commit to scala/scala3-lts that referenced this pull request Dec 5, 2024
- Forward-ports changes to `publish_release` CI job from `release-3.6.1`
branch.
* Fix building SDK archives, don't use `build-sdk-packages` job that
produced artifacts in SNAPSHOT version
  * Fix typos introduced in template (forward port from `release-3.6.0`)
- Detect and check version used to publish artifacts: 
* For release builds ensure that `version` is always matching tag used
to trigger CI job
* For nightly builds ensure that `version` is following the expected
pattern

[Cherry-picked 34f1c54][modified]
WojciechMazur pushed a commit to scala/scala3-lts that referenced this pull request Dec 5, 2024
<img width="1032" alt="Screenshot 2024-10-20 at 07 14 49"
src="https://github.com/%3Ca%20href="https://github.com/user-attachments/assets/321ba7ce-9fd2-413c-aec3-14215fbee786">https://github.com/user-attachments/assets/321ba7ce-9fd2-413c-aec3-14215fbee786">


[positive](https://github.com/WojciechMazur/dotty/actions/runs/11416876799/job/31768568868)
test in scala#21810 also uses `bash` instead of `sh`

Closes scala#21815
[Cherry-picked 022b1ff]
WojciechMazur added a commit that referenced this pull request Dec 9, 2024
- Forward-ports changes to `publish_release` CI job from `release-3.6.1`
branch.
* Fix building SDK archives, don't use `build-sdk-packages` job that
produced artifacts in SNAPSHOT version
  * Fix typos introduced in template (forward port from `release-3.6.0`)
- Detect and check version used to publish artifacts: 
* For release builds ensure that `version` is always matching tag used
to trigger CI job
* For nightly builds ensure that `version` is following the expected
pattern

[Cherry-picked 34f1c54][modified]
WojciechMazur pushed a commit that referenced this pull request Dec 9, 2024
<img width="1032" alt="Screenshot 2024-10-20 at 07 14 49"
src="https://github.com/%3Ca%20href="https://github.com/user-attachments/assets/321ba7ce-9fd2-413c-aec3-14215fbee786">https://github.com/user-attachments/assets/321ba7ce-9fd2-413c-aec3-14215fbee786">


[positive](https://github.com/WojciechMazur/dotty/actions/runs/11416876799/job/31768568868)
test in #21810 also uses `bash` instead of `sh`

Closes #21815
[Cherry-picked 022b1ff]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants