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

Added the version info #217

Merged
merged 10 commits into from
Oct 9, 2024
Merged

Added the version info #217

merged 10 commits into from
Oct 9, 2024

Conversation

alaGarbey675
Copy link
Collaborator

  • Made the "in progress" status color lighter.
  • Added the version of the application

dependabot bot and others added 4 commits October 7, 2024 23:28
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.14.23 to 1.14.24.
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](mattn/go-sqlite3@v1.14.23...v1.14.24)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
This commit also contains an update on the intensity of the orange color for the 'in progress' status.
Copy link
Member

@bart6114 bart6114 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added some comments

can we also

Thanks!

main.go Outdated Show resolved Hide resolved
pkg/http.go Outdated Show resolved Hide resolved
pkg/http.go Show resolved Hide resolved
pkg/web_assets/static/script.js Outdated Show resolved Hide resolved
pkg/web_assets/static/styles.css Outdated Show resolved Hide resolved
pkg/web_assets/templates/base.html Outdated Show resolved Hide resolved
@alaGarbey675
Copy link
Collaborator Author

build flags : go build -ldflags="-X 'github.com/datarootsio/cheek/pkg.Version=${{ needs.version_tag.outputs.new_tag }}' -X 'github.com/datarootsio/cheek/pkg.CommitSHA=${{ steps.vars.outputs.sha_short }}'"

pkg/http.go Outdated Show resolved Hide resolved
pkg/web_assets/static/script.js Outdated Show resolved Hide resolved
@@ -86,7 +86,7 @@ jobs:
- id: vars
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- run: mkdir -p ${{ matrix.goos }}/${{ matrix.goarch }}
- run: env GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -ldflags="-X 'github.com/datarootsio/cheek/pkg.Version=${{ steps.vars.outputs.sha_short }}'" -o ${{ matrix.goos }}/${{ matrix.goarch }}
- run: env GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -ldflags="-X 'github.com/datarootsio/cheek/pkg.Version=${{ steps.vars.outputs.sha_short }}' -X 'github.com/datarootsio/cheek/pkg.CommitSHA=${{ steps.vars.outputs.sha_short }}'" -o ${{ matrix.goos }}/${{ matrix.goarch }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will set both values to the commit has (sha), but the pkg.Version so be something like needs.version_tag.outputs.new_tag, right?

@bart6114
Copy link
Member

bart6114 commented Oct 9, 2024

Thank you @alaGarbey675 🙌

@bart6114 bart6114 merged commit f85d635 into main Oct 9, 2024
19 checks passed
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