{"id":18982287,"url":"https://github.com/profusion/action-autorelease","last_synced_at":"2026-03-06T18:32:07.126Z","repository":{"id":176348537,"uuid":"656741596","full_name":"profusion/action-autorelease","owner":"profusion","description":"Automatically create a release whenever the version changes in a properties file","archived":false,"fork":false,"pushed_at":"2024-07-08T15:07:43.000Z","size":187,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-01-15T21:47:39.099Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/profusion.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-21T14:41:34.000Z","updated_at":"2023-07-17T16:40:09.000Z","dependencies_parsed_at":"2025-01-01T11:41:57.832Z","dependency_job_id":"da856e35-c0eb-42d5-993d-9603ad8ea983","html_url":"https://github.com/profusion/action-autorelease","commit_stats":null,"previous_names":["profusion/action-autorelease"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profusion%2Faction-autorelease","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profusion%2Faction-autorelease/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profusion%2Faction-autorelease/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profusion%2Faction-autorelease/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/profusion","download_url":"https://codeload.github.com/profusion/action-autorelease/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241997290,"owners_count":20055113,"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":[],"created_at":"2024-11-08T16:13:02.505Z","updated_at":"2026-03-06T18:32:02.099Z","avatar_url":"https://github.com/profusion.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auto Release\n\nThis script enables the automatic creation of GitHub releases when a specific property in a properties file changes. It can be useful for publishing packages automatically when certain properties, such as version numbers, change.\n\n## Usage\n\nThe following is an example `.github/workflows/main.yml` that will execute when a `push` to the `main` branch occurs.\n\n```yaml\nname: Auto Release\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n        - uses: actions/checkout@v3\n        - uses: profusion/autorelease@main\n            with:\n            properties_path: \"gradle.properties\"\n            property_name: \"VERSION_NAME\"\n            tag_prefix: \"v\"\n            github_token: ${{ secrets.GITHUB_TOKEN }}\n```\n\nTo make this work, the workflow must have the checkout action _before_ the autotag action.\n\nThis **order** is important!\n\n```yaml\n- uses: actions/checkout@v3\n- uses: profusion/action-autotag@main\n```\n\n\u003e If the repository is not checked out first, the script cannot find the properties file.\n\n### Configurations\n\n1. `github_token`: This is the token used to create the tag. It is required.\n\n2. `properties_path`: This is the path to the properties file. It is required.\n\n3. `property_name`: This is the name of the property that will be used to create the tag. It is required.\n\n4. `tag_prefix`: A prefix can be used to add text before the tag name. For example, if `tag_prefix` is set to `v`, then the tag would be labeled as `v1.0.0`.\n\n5. `tag_suffix`: Text can also be applied to the end of the tag by setting `tag_suffix`. For example, if `tag_suffix` is ` (beta)`, the tag would be `1.0.0 (beta)`.\n\n## Development\n\nIn order to contribute, clone the repository and set up husky hooks prior to\nsubmitting a patch:\n\n```bash\ngit clone git@github.com:profusion/action-autorelease.git\ncd action-autorelease\nyarn\nyarn prepare\nyarn all # run build, format, lint and package\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofusion%2Faction-autorelease","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprofusion%2Faction-autorelease","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofusion%2Faction-autorelease/lists"}