{"id":20416998,"url":"https://github.com/smourier/updateassemblyinfo","last_synced_at":"2026-05-15T13:35:47.460Z","repository":{"id":84373376,"uuid":"435539458","full_name":"smourier/UpdateAssemblyInfo","owner":"smourier","description":"Updates AssemblyFileVersion from a .cs file.","archived":false,"fork":false,"pushed_at":"2025-01-04T14:06:27.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T03:44:40.769Z","etag":null,"topics":["assembly","autoversion","githook","versioning"],"latest_commit_sha":null,"homepage":"","language":"C#","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/smourier.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":"2021-12-06T15:01:22.000Z","updated_at":"2025-02-12T18:31:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"e85c90fc-514d-41cf-a5bd-7dac2c02067e","html_url":"https://github.com/smourier/UpdateAssemblyInfo","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/smourier/UpdateAssemblyInfo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smourier%2FUpdateAssemblyInfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smourier%2FUpdateAssemblyInfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smourier%2FUpdateAssemblyInfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smourier%2FUpdateAssemblyInfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smourier","download_url":"https://codeload.github.com/smourier/UpdateAssemblyInfo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smourier%2FUpdateAssemblyInfo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270856775,"owners_count":24657700,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"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":["assembly","autoversion","githook","versioning"],"created_at":"2024-11-15T06:24:03.836Z","updated_at":"2026-05-15T13:35:42.438Z","avatar_url":"https://github.com/smourier.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UpdateAssemblyInfo\nUpdates `AssemblyFileVersionAttribute` assembly attribute (and only that) from a .cs file. For example this file :\n\n\t[assembly: AssemblyVersion(\"1.0.0.0\")]\n\t[assembly: AssemblyFileVersion(\"1.0.0.100\")]\n\nWill be changed into this file:\n\n\t[assembly: AssemblyVersion(\"1.0.0.0\")] // this is not changed\n\t[assembly: AssemblyFileVersion(\"1.0.0.101\")]\n\nIt can be used with a git pre-commit hook https://stackoverflow.com/questions/17101473/change-version-file-automatically-on-commit-with-git\n\nExemple: of a pre-commit hook (the file must be named \"pre-commit\" and put in the .git/hooks folder, and copy UpdateAssemblyInfo.exe somewhere in the PATH):\n\n\t#!/bin/sh\n\t#\n\t# update AssemblyInfoVersion.cs\n\t# Called by \"git commit\" with no arguments. The hook should\n\t# exit with non-zero status after issuing an appropriate message if\n\t# it wants to stop the commit.\n\t#\n\n\tUpdateAssemblyInfo.exe \"Properties/AssemblyInfo.cs\"\n\tgit add \"Properties/AssemblyInfo.cs\"\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmourier%2Fupdateassemblyinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmourier%2Fupdateassemblyinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmourier%2Fupdateassemblyinfo/lists"}