Skip to content

Commit

Permalink
Update readme and workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jriguera committed Mar 22, 2024
1 parent a5459e5 commit d532a5b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release-final-boshrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
path: ${{ steps.boshrelease.outputs.file }}

- name: Git commit final resources
if: startsWith(github.ref, 'refs/tags/')
if: ${{ steps.boshrelease.outputs.type == 'final' }}
run: |
git add .final_builds blobstore releases
git commit -m "Release version ${{ steps.boshrelease.outputs.version }}"
Expand Down Expand Up @@ -113,7 +113,6 @@ jobs:
- name: Create a Release
uses: softprops/action-gh-release@v2
# if: startsWith(github.ref, 'refs/tags/')
with:
token: ${{ secrets.GITHUB_TOKEN }}
draft: ${{ steps.boshrelease.outputs.type != 'final' }}
Expand Down
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

Simple Bosh release to deploy binary OpenTelemetry collector from upstream (https://github.com/open-telemetry/opentelemetry-collector-releases/releases), allowing end users to define the full configuration file.

# Creating and using a release:
# Release process

Blobs are stored in this repository as LFS objects!

## Creating and testing a release

In order to test and create a "non final" (dev) release, run:

Expand All @@ -15,8 +19,14 @@ bosh create-release --force --tarball=/tmp/release.tgz
bosh -e <bosh-env> upload-release /tmp/release.tgz
```

## Releasing a final version

# Release process
Final versions are released by the GH Action workflow.
Please commit all changes and then push an annotated tag to the repository:

```
git tag -a v1.4 -m "my version 1.4"
```

## GitHub Credentials

Expand Down

0 comments on commit d532a5b

Please sign in to comment.