{"id":24531976,"url":"https://github.com/julbme/gh-action-semver-build-vars","last_synced_at":"2026-05-17T21:10:32.628Z","repository":{"id":185942180,"uuid":"467572545","full_name":"julbme/gh-action-semver-build-vars","owner":"julbme","description":"GitHub actions to compute Semver release vars","archived":false,"fork":false,"pushed_at":"2022-12-03T21:02:57.000Z","size":622,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T09:16:54.914Z","etag":null,"topics":["build","ci","github-actions","semver"],"latest_commit_sha":null,"homepage":"https://julbme.github.io/gh-action-semver-build-vars/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/julbme.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-03-08T15:38:26.000Z","updated_at":"2022-03-17T16:33:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"dda9f669-61bd-4f52-a0b3-df60a6552412","html_url":"https://github.com/julbme/gh-action-semver-build-vars","commit_stats":null,"previous_names":["julbme/gh-action-semver-build-vars"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julbme%2Fgh-action-semver-build-vars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julbme%2Fgh-action-semver-build-vars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julbme%2Fgh-action-semver-build-vars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julbme%2Fgh-action-semver-build-vars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/julbme","download_url":"https://codeload.github.com/julbme/gh-action-semver-build-vars/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243785080,"owners_count":20347409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["build","ci","github-actions","semver"],"created_at":"2025-01-22T09:17:03.494Z","updated_at":"2026-05-17T21:10:27.604Z","avatar_url":"https://github.com/julbme.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build](https://github.com/julbme/gh-action-semver-build-vars/actions/workflows/maven-build.yml/badge.svg)](https://github.com/julbme/gh-action-semver-build-vars/actions/workflows/maven-build.yml)\n[![Lint Commit Messages](https://github.com/julbme/gh-action-semver-build-vars/actions/workflows/commitlint.yml/badge.svg)](https://github.com/julbme/gh-action-semver-build-vars/actions/workflows/commitlint.yml)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=julbme_gh-action-semver-build-vars\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=julbme_gh-action-semver-build-vars)\n![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/julbme/gh-action-semver-build-vars)\n\n# GitHub Action to compute SemVer release vars\n\nThe GitHub Action for computing SemVer build vars.\n\n## Usage\n\n### Example Workflow file\n\n```yaml\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Merge branch\n        uses: julbme/gh-action-semver-build-vars@v1\n        with:\n          package_version: 1.0.0-SNAPSHOT\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n### Inputs\n\n|       Name        |  Type  | Default |                                Description                                |\n|-------------------|--------|---------|---------------------------------------------------------------------------|\n| `package_version` | string | ` `     | The build version as set by package manager's file in the current branch. |\n\n### Outputs\n\n|                Name                 |  Type  |                                                 Description                                                  |\n|-------------------------------------|--------|--------------------------------------------------------------------------------------------------------------|\n| `original_version`                  | string | The original build version. Ex: `1.0.0-SNAPSHOT`                                                             |\n| `version`                           | string | The build version. Ex: `1.0.0-unstable`                                                                      |\n| `sha_build_version`                 | string | The version with the abbreviated sha as build token. Ex: `1.0.0-unstable+abcdef`                             |\n| `sha_build_version_build`           | string | The abbreviated sha. Ex: `abcdef`                                                                            |\n| `timestamp_build_version`           | string | The version with the UTC timestamp as build token. Ex: `1.0.0-unstable+20220317160716`                       |\n| `timestamp_build_version_build`     | string | The UTC timestamp. Ex: `20220317160716`                                                                      |\n| `timestamp_sha_build_version`       | string | The version with the UTC timestamp and the SHA as build token. Ex: `1.0.0-unstable+20220317160716.abcdef`    |\n| `timestamp_sha_build_version_build` | string | The UTC timestamp and the SHA. Ex: `20220317160716.abcdef`                                                   |\n| `docker_tag`                        | string | The docker tag. Ex: `1.0.0-unstable`                                                                         |\n| `docker_sha_build_tag`              | string | The docker tag with the abbreviated sha as build token. Ex: `1.0.0-unstable+abcdef`                          |\n| `docker_timestamp_build_tag`        | string | The docker tag with the UTC timestamp as build token. Ex: `1.0.0-unstable+20220317160716`                    |\n| `docker_timestamp_sha_build_tag`    | string | The docker tag with the UTC timestamp and the SHA as build token. Ex: `1.0.0-unstable+20220317160716.abcdef` |\n\n## Contributing\n\nThis project is totally open source and contributors are welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulbme%2Fgh-action-semver-build-vars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulbme%2Fgh-action-semver-build-vars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulbme%2Fgh-action-semver-build-vars/lists"}