Skip to content
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

ci: remove git plugin from release process #4

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ jobs:
run: |
npm install -g @semantic-release/[email protected] \
@semantic-release/[email protected] \
@semantic-release/[email protected] \
@semantic-release/[email protected] \
@semantic-release/[email protected] \
@semantic-release/[email protected] \
[email protected] \
[email protected]
Expand Down
23 changes: 9 additions & 14 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -77,32 +77,27 @@
}
}
],
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "./gradlew release -Pversion=${nextRelease.version}",
"prepareCmd": "./gradlew clean release -Pversion=${nextRelease.version}",
"successCmd": "echo ${nextRelease.version} > VERSION"
}
],
[
"@semantic-release/git",
{
"assets": ["build.gradle.kts", "gradle.properties", "CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "build/libs/pillarbox-monitoring-transfer.jar"
},
{
"path": "LICENSE",
"label": "License"
},
{
"path": "README.md",
"label": "Readme"
}
]
}
Expand Down
32 changes: 0 additions & 32 deletions CHANGELOG.md

This file was deleted.

16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ Here’s a more concise description of the GitHub Actions setup without listing

### Continuous Integration

This project automates its development workflow using GitHub Actions across three main workflows:
quality checks, releases, and deployments.
This project automates its development workflow using GitHub Actions across two main workflows:
quality checks and releases.

1. **Quality Check for Pull Requests**
Triggered on every pull request to the `main` branch, this workflow ensures the code passes
Expand All @@ -114,12 +114,8 @@ quality checks, releases, and deployments.

2. **Release Workflow**
When changes are pushed to the `main` branch, this workflow handles versioning and releases using
`semantic-release`. It automatically bumps the version, generates release notes, and pushes
updates to the repository.

3. **Deployment Workflow**
This workflow is triggered whenever a tag is created. It builds the Docker image for the service
and pushes the image to an Amazon ECR repository.
`semantic-release`. It automatically bumps the version, generates release notes, creates a tag,
and publishes a Docker image to an Amazon ECR repository.

## Contributing

Expand Down Expand Up @@ -162,7 +158,11 @@ Refer to our [Contribution Guide](docs/CONTRIBUTING.md) for more detailed inform
This project is licensed under the [MIT License](LICENSE).

[main-entry-point]: src/main/kotlin/ch/srgssr/pillarbox/monitoring/PillarboxDataTransferApplication.kt

[health-indicator]: src/main/kotlin/ch/srgssr/pillarbox/monitoring/health/BenchmarkHealthIndicator.kt

[lock-manager]: src/main/kotlin/ch/srgssr/pillarbox/monitoring/concurrent/LockManager.kt

[setup-service]: src/main/kotlin/ch/srgssr/pillarbox/monitoring/event/SetupService.kt

[sse-client]: src/main/kotlin/ch/srgssr/pillarbox/monitoring/event/SseClient.kt
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#Thu Oct 10 12:15:07 UTC 2024
group=ch.srgssr.pillarbox
version=2.0.1
version=dev