﻿namespace Pagination.ReleaseActions {
    class Tag : ReleaseAction {
        public override void Work() {
            var tag = Context.Version.StagedVersion;
            Process("git", "commit", "-a", "-m", $"\"(Auto-)Commit version '{tag}'.\"");
            Process("git", "tag", "-a", tag, "-m", $"\"(Auto-)Tag version '{tag}'.\"");
            Process("git", "push", "origin", tag);
        }
    }
}

﻿namespace Pagination.ReleaseActions {
    class Tag : ReleaseAction {
        public override void Work() {
            var tag = Context.Version.StagedVersion;
            Process("git", "status");
            Process("git", "commit", "-a", "-m", $"\"(Auto-)Commit version '{tag}'.\"");
            Process("git", "push");
            Process("git", "tag", "-a", tag, "-m", $"\"(Auto-)Tag version '{tag}'.\"");
            Process("git", "push", "origin", tag);
        }
    }
}

Add git commands to tool.
Add git commands to tool.
