Skip to content

Commit 0c857f7

Browse files
author
ADMSK\AVROGAL1
committed
docs: updates on documentation
Added informational and corporate documentation
1 parent cf05d94 commit 0c857f7

File tree

4 files changed

+92
-8
lines changed

4 files changed

+92
-8
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Update Changelog
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
# Run at 3 during night
7+
- cron: '0 3 * * *'
8+
9+
jobs:
10+
generate_changelog:
11+
runs-on: ubuntu-latest
12+
name: Generate changelog for master branch
13+
steps:
14+
- uses: actions/checkout@v1
15+
16+
- name: Generate changelog
17+
uses: charmixer/[email protected]
18+
with:
19+
token: ${{ secrets.GITHUB_TOKEN }}
20+
21+
- name: Commit files
22+
env:
23+
CI_USER: "github-actions[bot]"
24+
CI_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
25+
run: |
26+
git config --local user.email "$CI_EMAIL"
27+
git config --local user.name "$CI_USER"
28+
git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && $(echo "push=1" >> $GITHUB_ENV) || echo "No changes to CHANGELOG.md"
29+
- name: Push changes
30+
if: env.push == 1
31+
env:
32+
CI_USER: "github-actions[bot]"
33+
CI_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
34+
CI_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
run: |
36+
git push "https://$CI_USER:[email protected]/$GITHUB_REPOSITORY.git" HEAD:master
Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,31 @@
1+
/*
2+
* Copyright (C) 2021. Alexander Rogalskiy. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package plugins
217

3-
plugins {
4-
id("profiler.java-library")
5-
}
6-
718
// These projects are packaged into the Gradle profiler Jar, so let's make them reproducible
819
tasks.withType<Jar>().configureEach {
9-
isReproducibleFileOrder = true
10-
isPreserveFileTimestamps = false
11-
dirMode = Integer.parseInt("0755", 8)
12-
fileMode = Integer.parseInt("0644", 8)
20+
manifest {
21+
attributes(
22+
"Implementation-Title" to "Gradle Profiler",
23+
"Implementation-Version" to project.version
24+
)
25+
}
26+
27+
isReproducibleFileOrder = true
28+
isPreserveFileTimestamps = false
29+
dirMode = Integer.parseInt("0755", 8)
30+
fileMode = Integer.parseInt("0644", 8)
1331
}

buildSrc/src/main/kotlin/plugins/profiler.java-library.gradle.kts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright (C) 2021. Alexander Rogalskiy. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package plugins
217

318
import org.gradle.internal.os.OperatingSystem

buildSrc/src/main/kotlin/plugins/profiler.publication.gradle.kts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright (C) 2021. Alexander Rogalskiy. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package plugins
217

318
import java.net.URI

0 commit comments

Comments
 (0)