Skip to content

Commit 6665b37

Browse files
committed
Prepare rc1
1 parent 3e869ff commit 6665b37

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
GITHUB_NAME: ${{ github.event.repository.name }}
2222

2323

24-
run: sudo apt-get install libxml-xpath-perl;echo $(xpath -e '/root/versions/version[num="'${GITHUB_REF/refs\/tags\//}'"]/compatibility/text()' $GITHUB_NAME.xml);echo ::set-output name=version_glpi::$(xpath -e '/root/versions/version[num="'${GITHUB_REF/refs\/tags\//}'"]/compatibility/text()' $GITHUB_NAME.xml); rm -rf $GITHUB_NAME.xml tools wiki screenshots test .git .github ISSUE_TEMPLATE.md TODO.txt $GITHUB_NAME.png;cd ..; tar -zcvf glpi-$GITHUB_NAME-${GITHUB_REF/refs\/tags\//}.tar.gz $GITHUB_NAME;ls -al;echo ::set-output name=tag::${GITHUB_REF/refs\/tags\//};echo ${{ steps.getxml.outputs.info }};
24+
run: sudo apt-get install libxml-xpath-perl;echo $(xpath -e '/root/versions/version[num="'${GITHUB_REF/refs\/tags\//}'"]/compatibility/text()' $GITHUB_NAME.xml);echo ::set-output name=version_glpi::$(xpath -e '/root/versions/version[num="'${GITHUB_REF/refs\/tags\//}'"]/compatibility/text()' $GITHUB_NAME.xml); rm -rf $GITHUB_NAME.xml tools wiki screenshots test .git .github ISSUE_TEMPLATE.md TODO.txt $GITHUB_NAME.png;cd ..; tar jcvf glpi-$GITHUB_NAME-${GITHUB_REF/refs\/tags\//}.tar.bz2 $GITHUB_NAME;ls -al;echo ::set-output name=tag::${GITHUB_REF/refs\/tags\//};echo ${{ steps.getxml.outputs.info }};
2525
# run: rm -rf $GITHUB_NAME.xml tools wiki screenshots test ISSUE_TEMPLATE.md TODO.txt $GITHUB_NAME.png; tar -zcvf glpi-$GITHUB_NAME-$GITHUB_TAG.tar.gz $GITHUB_NAME
2626
- name: Create Release
2727
id: create_release
@@ -43,7 +43,7 @@ jobs:
4343
GITHUB_NAME: ${{ github.event.repository.name }}
4444
with:
4545
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
46-
asset_path: /home/runner/work/${{ github.event.repository.name }}/glpi-${{ github.event.repository.name }}-${{ steps.build_.outputs.tag }}.tar.gz
47-
asset_name: glpi-${{ github.event.repository.name }}-${{ steps.build_.outputs.tag }}.tar.gz
46+
asset_path: /home/runner/work/${{ github.event.repository.name }}/glpi-${{ github.event.repository.name }}-${{ steps.build_.outputs.tag }}.tar.bz2
47+
asset_name: glpi-${{ github.event.repository.name }}-${{ steps.build_.outputs.tag }}.tar.bz2
4848
asset_content_type: application/zip
4949

inc/profile.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class PluginTimelineticketProfile extends Profile {
5757
function getTabNameForItem(CommonGLPI $item, $withtemplate = 0) {
5858
if ($item->getType() == 'Profile'
5959
&& $item->fields['interface'] == 'central') {
60-
return self::createTabEntry('TimelineTicket');
60+
return _n("Timeline of ticket", "Timeline of tickets", 2, "timelineticket");
6161
}
6262
}
6363

setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
------------------------------------------------------------------------
3838
*/
3939

40-
define("PLUGIN_TIMELINETICKET_VERSION", "10.0+1.0");
40+
define("PLUGIN_TIMELINETICKET_VERSION", "10.0+1.0-rc1");
4141

4242
if (!defined("PLUGIN_TIMELINETICKET_DIR")) {
4343
define("PLUGIN_TIMELINETICKET_DIR", Plugin::getPhpDir("timelineticket"));

timelineticket.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@
3737
<author>Xavier CAILLAUD</author>
3838
</authors>
3939
<versions>
40+
<version>
41+
<num>10.0+1.0-rc1</num>
42+
<compatibility>~10.0</compatibility>
43+
<download_url>https://github.com/InfotelGLPI/timelineticket/releases/download/10.0+1.0-rc1/glpi-timelineticket-10.0+1.0-rc1.tar.bz2</download_url>
44+
</version>
4045
<version>
4146
<num>9.5+1.1</num>
4247
<compatibility>9.5</compatibility>

0 commit comments

Comments
 (0)