{"id":18966990,"url":"https://github.com/snsinahub/calver-release","last_synced_at":"2026-05-17T02:04:46.918Z","repository":{"id":58241747,"uuid":"526673383","full_name":"snsinahub/calver-release","owner":"snsinahub","description":"Create release tags based on calendar versioning","archived":false,"fork":false,"pushed_at":"2022-10-24T17:15:54.000Z","size":2033,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-13T10:49:12.247Z","etag":null,"topics":["actions","apache","apache-lucene","calver","github-actions","github-workflow","open-source","opensource"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/snsinahub.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}},"created_at":"2022-08-19T16:13:43.000Z","updated_at":"2022-08-22T17:22:22.000Z","dependencies_parsed_at":"2023-01-20T11:00:16.272Z","dependency_job_id":null,"html_url":"https://github.com/snsinahub/calver-release","commit_stats":{"total_commits":96,"total_committers":2,"mean_commits":48.0,"dds":0.02083333333333337,"last_synced_commit":"ea8b165c34fdf8e16b585b50f9b680110a53cc41"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/snsinahub/calver-release","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snsinahub%2Fcalver-release","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snsinahub%2Fcalver-release/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snsinahub%2Fcalver-release/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snsinahub%2Fcalver-release/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snsinahub","download_url":"https://codeload.github.com/snsinahub/calver-release/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snsinahub%2Fcalver-release/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33125184,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"online","status_checked_at":"2026-05-17T02:00:05.366Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["actions","apache","apache-lucene","calver","github-actions","github-workflow","open-source","opensource"],"created_at":"2024-11-08T14:39:17.670Z","updated_at":"2026-05-17T02:04:46.902Z","avatar_url":"https://github.com/snsinahub.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# calver-release\n\n## Introduction\n\nCalver release is an action that dynamically generates github `release tags` based on calnder versioning. The generated tag is a combination of `today's date` based on date format passed to the action and an `incremental digit` which indicates release number for the specified day.\n\nFor instance if date format is `YYYYMMD` and today is 08/22/2022, then the first and second releases of the day will be \n- 2022082.1\n- 2022082.2\n\n## Formating Date\nThis action uses moment.js and JS date format, here is few examples of supported date formats tokens\n\n- YYYY: 4-digit year '2022'\n- YY: 2-digit year '22'\n- MMMM: Full-length month 'August'\n- MMM: 3 character month 'Aug'\n- MM: Month of the year, zero-padded '08'\n- M: Month of the year '22'\n- DD: Day of the month, zero-padded '22'\n- D: Day of the month '22'\n- Do: Day of the month with numeric ordinal contraction '22nd'\n- HH: hour\n\n\n### Date formats Examples\nyou can separate year, month and day by `.`, `-` and more \n- YYYYMMD: `20220822`\n- YYYY-MM-D: `2022-08-22`\n- YYYY.MM.D: `2022.08.22`\n\n## Inputs\n```YAML\n  - uses: snsinahub/calver-release@v1.2.0\n    with: \n      # Repository name \n      # default: ${{ github.repository }}\n      # required: false\n      repo: ''\n    \n      # Token to access to the repository\n      # GITHUB_TOKEN can be used to access to the same repository\n      # If you'd like to access to another repository you can use either PAT(Personal Access Token) Or use a service account\n      # Using Service Account with least permissions is recommended \n      # default: ${{ github.token }}\n      # required: false\n      token:\n    \n      # Release tag date format \n      # default: YYYYMMD\n      # required: false\n      date_format:\n\n      # Local timezone \n      # default: America/New_York\n      # required: false\n      time_zone:   \n\n      # required: false\n      # default: ''\n      tag_prepend:\n    \n      # required: false\n      # default: ''\n      tag_append:\n    \n      # required: false\n      # default: '.'\n      append_prepend_separator:    \n\n```\n\n## Output\n | Name | Description |\n | -- | -- |\n | newTag | Get latest release tag and increment the iteration by 1 |\n\n\n## Examples\n\n\n### Use default values\n\n```YAML\n- name: checkout\n  uses: actions/checkout@v2\n- name: get a new tag\n  id: tag-generator\n  uses: snsinahub/calver-release@v1.2.0  \n- name: print new tag\n  run: |\n    echo ${{ steps.tag-generator.outputs.newTag }}\n```\n\n## Passing Date format\n\n```YAML\n- name: checkout\n  uses: actions/checkout@v2\n- name: get a new tag\n  id: tag-generator\n  uses: snsinahub/calver-release@v1.2.0\n  with: \n    repo: \"${{ github.repository }}\"\n    token: \"${{ secrets.GITHUB_TOKEN }}\"\n    date_format: \"YYYYMMD\"\n- name: print new tag\n  run: |\n    echo ${{ steps.tag-generator.outputs.newTag }}\n```\n\n## Passing Date format and timezone\n\n```YAML\n- name: checkout\n  uses: actions/checkout@v2\n- name: get a new tag\n  id: tag-generator\n  uses: snsinahub/calver-release@v1.2.0\n  with: \n    repo: \"${{ github.repository }}\"\n    token: \"${{ secrets.GITHUB_TOKEN }}\"\n    date_format: \"YYYY-MM-D\"\n    time_zone: \"America/New_York\"\n- name: print new tag\n  run: |\n    echo ${{ steps.tag-generator.outputs.newTag }}\n```\n\n## Adding prefix\n```YAML\n- name: get a new tag\n  id: tag-generator\n  uses: snsinahub/calver-release@v1.2.0\n  with: \n    date_format: \"${{ github.event.inputs.date_format }}\"   \n    tag_prepend: ${{ github.event.inputs.tag_prepend }}    \n    append_prepend_separator: ${{ github.event.inputs.append_prepend_separator }}\n```\n\n## Adding postfix\n```YAML\n- name: get a new tag\n  id: tag-generator\n  uses: snsinahub/calver-release@v1.2.0\n  with: \n    date_format: \"${{ github.event.inputs.date_format }}\"   \n    tag_append: ${{ github.event.inputs.tag_append }}\n    append_prepend_separator: ${{ github.event.inputs.append_prepend_separator }}\n```\n\n## Adding both prefix and postfix\n```YAML\n- name: get a new tag\n  id: tag-generator\n  uses: snsinahub/calver-release@v1.2.0\n  with: \n    date_format: \"${{ github.event.inputs.date_format }}\"   \n    tag_prepend: ${{ github.event.inputs.tag_prepend }}\n    tag_append: ${{ github.event.inputs.tag_append }}\n    append_prepend_separator: ${{ github.event.inputs.append_prepend_separator }}\n```\n \n\n## External References\n- [Formatting JavaScript Dates with Moment.js](https://thecodebarbarian.com/formatting-javascript-dates-with-moment-js.html)\n- [Moment.js](https://momentjs.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnsinahub%2Fcalver-release","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnsinahub%2Fcalver-release","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnsinahub%2Fcalver-release/lists"}